def test_kill_all_should_kill_all_nodes_and_remove_state_file(): run('create') assert_mongods_running(3) run('killnodes all') assert_mongods_running(0) assert_no_state_file()
def test_should_not_fail_if_no_state_file(): assert_mongods_running(0) assert_no_state_file() output = run('listnodes')
def test_should_not_fail_if_no_state_file(): assert_mongods_running(0) assert_no_state_file() run('killnodes all')