summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVesselina Ratcheva <vesselina.ratcheva@10gen.com>2020-05-11 14:13:34 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-11 19:02:38 +0000
commit4ef25b3c1499b6a61f2cd911d070786318c39e11 (patch)
tree39a5b4a2715819491aac94125b1854747267ebe1
parent3a6872c51c7b2c37aac28bf813bc09f8dc647653 (diff)
downloadmongo-4ef25b3c1499b6a61f2cd911d070786318c39e11.tar.gz
SERVER-47823 Fix initial_sync_wt_cache_full.js to wait for secondary state before shutting down
-rw-r--r--jstests/noPassthrough/initial_sync_wt_cache_full.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/noPassthrough/initial_sync_wt_cache_full.js b/jstests/noPassthrough/initial_sync_wt_cache_full.js
index 843f870a34d..1cf1561e6bd 100644
--- a/jstests/noPassthrough/initial_sync_wt_cache_full.js
+++ b/jstests/noPassthrough/initial_sync_wt_cache_full.js
@@ -64,6 +64,7 @@ jsTestLog('Applying updates on secondary ' + secondary.host);
assert.commandWorked(secondary.adminCommand(
{configureFailPoint: 'initialSyncHangBeforeCopyingDatabases', mode: 'off'}));
rst.awaitReplication();
+rst.awaitSecondaryNodes();
rst.stopSet();
})();