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:
Andrew Mayorov 2024-03-27 15:46:07 +01:00
parent e8b06a6a9f
commit e029b8f996
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ t_replication_transfers_snapshots(Config) ->
?retry(
500,
10,
?assertMatch([_], shards_online(Node, ?DB))
?assertMatch([[_], [_], [_]], [shards_online(N, ?DB) || N <- Nodes])
),
%% Stop the DB on the "offline" node.