Skip to content
Snippets Groups Projects
Commit 9cd47116 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

test: expel tests were broken

parent 4b84de8c
No related branches found
No related tags found
1 merge request!1259Gmoshkin/fix expel
......@@ -17,7 +17,7 @@ def assert_instance_expelled(expelled_instance: Instance, instance: Instance):
def assert_voters(voters: list[Instance], instance: Instance):
expected_voters = list(map(lambda i: i.raft_id, voters))
actual_voters = instance.eval("return box.space._raft_state:get('voters').value")
assert actual_voters.sort() == expected_voters.sort()
assert sorted(actual_voters) == sorted(expected_voters)
def assert_pid_down(pid):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment