test(dsrepl): wait for whole cluster readiness
To minimize the chance of flaky tests due to the shards not being completely online. Co-Authored-By: Thales Macedo Garitezi <thalesmg@gmail.com>
This commit is contained in:
parent
e8b06a6a9f
commit
e029b8f996
|
@ -52,7 +52,7 @@ t_replication_transfers_snapshots(Config) ->
|
||||||
?retry(
|
?retry(
|
||||||
500,
|
500,
|
||||||
10,
|
10,
|
||||||
?assertMatch([_], shards_online(Node, ?DB))
|
?assertMatch([[_], [_], [_]], [shards_online(N, ?DB) || N <- Nodes])
|
||||||
),
|
),
|
||||||
|
|
||||||
%% Stop the DB on the "offline" node.
|
%% Stop the DB on the "offline" node.
|
||||||
|
|
Loading…
Reference in New Issue