diff options
-rw-r--r-- | jstests/replsets/rslib.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/replsets/rslib.js b/jstests/replsets/rslib.js index 93fc7c0e2ba..42d9ea73cce 100644 --- a/jstests/replsets/rslib.js +++ b/jstests/replsets/rslib.js @@ -65,6 +65,7 @@ syncFrom = function(syncingNode, desiredSyncSource, rst) { assert.commandWorked(syncingNode.adminCommand({replSetSyncFrom: desiredSyncSource.name})); restartServerReplication(syncingNode); rst.awaitSyncSource(syncingNode, desiredSyncSource); + rst.awaitReplication(); }; /** |