diff options
author | Vesselina Ratcheva <vesselina.ratcheva@10gen.com> | 2020-10-25 00:57:55 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-20 00:18:51 +0000 |
commit | 04f74dce461f6ace3e9c57e4b749b8f287f5032a (patch) | |
tree | 1ab71c74787f7ed672a691785cf1d820378e26b6 /jstests | |
parent | 65ad41f1df99bbdfabeb8235351d9c21f9eea142 (diff) | |
download | mongo-04f74dce461f6ace3e9c57e4b749b8f287f5032a.tar.gz |
SERVER-50901 Wait for secondaries to be ready in RollbackTest.checkDataConsistency
(cherry picked from commit 2e2e949943bf3814b6b9871409d59e9641a3cd0d)
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/libs/rollback_test.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/replsets/libs/rollback_test.js b/jstests/replsets/libs/rollback_test.js index 2580253a9c2..2ff6f2ef152 100644 --- a/jstests/replsets/libs/rollback_test.js +++ b/jstests/replsets/libs/rollback_test.js @@ -229,6 +229,7 @@ function RollbackTest(name = "RollbackTest", replSet) { // We must wait for collection drops to complete so that we don't get spurious failures // in the consistency checks. + rst.awaitSecondaryNodes(); rst.nodes.forEach(TwoPhaseDropCollectionTest.waitForAllCollectionDropsToComplete); const name = rst.name; |