Fix failover tests

Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
This commit is contained in:
anikeev-yadro 2022-10-21 17:53:54 +03:00 committed by anikeev-yadro
parent 5cab1ecf19
commit 8a48402f53
2 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ def wait_object_replication_on_nodes(
nodes = []
for __attempt in range(attempts):
nodes = get_nodes_with_object(wallet, cid, oid, shell=shell, skip_nodes=excluded_nodes)
if len(nodes) == expected_copies:
if len(nodes) >= expected_copies:
return nodes
sleep(sleep_interval)
raise AssertionError(