diff options
Diffstat (limited to 'jstests/noPassthrough/drop_connections_replSet.js')
-rw-r--r-- | jstests/noPassthrough/drop_connections_replSet.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/noPassthrough/drop_connections_replSet.js b/jstests/noPassthrough/drop_connections_replSet.js index 0809dad8ca5..2f1f7ea332d 100644 --- a/jstests/noPassthrough/drop_connections_replSet.js +++ b/jstests/noPassthrough/drop_connections_replSet.js @@ -52,5 +52,8 @@ cfg.members.push(removedMember[0]); cfg.version++; assert.commandWorked(primary.adminCommand({replSetReconfig: cfg})); +// Make sure all nodes, including the once-removed node, have the final config. +rst.waitForConfigReplication(primary); + rst.stopSet(); })(); |