summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
})();