In challenge with unique IDs generator, I just implemented a node which return node ID and local node incrementing counter. This solution may work only if node process is alive during test. But it’s obviously should not work in case of node crash or restart. When I start it with command:
/opt/maelstrom/maelstrom test -w unique-ids --bin ./target --time-limit 30 --rate 1000 --node-count 3 --availability total --nemesis partition
The test completes successfully. How I can crash the node during test to simulate this scenario?