diff --git a/test/int/test_expelling.py b/test/int/test_expelling.py index 74a3d3ea6cbe48779636b574767510b476859c59..b246909cbeeaca7522af7b41744631ab7f4457d4 100644 --- a/test/int/test_expelling.py +++ b/test/int/test_expelling.py @@ -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):