summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorSamy Lanka <samy.lanka@mongodb.com>2021-08-23 17:34:52 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-23 18:14:12 +0000
commit7bada458c6185d97803390e9850590aa799b37b0 (patch)
tree2db2627d7b68b37cf33d28257fec92ca7014fa22 /jstests
parentc0a7fd4ea328cea80eb81444f4cc480b508d949c (diff)
downloadmongo-7bada458c6185d97803390e9850590aa799b37b0.tar.gz
SERVER-59480 Call waitForAllNewlyAddedRemovals in tags.js before partitioning replica set
Diffstat (limited to 'jstests')
-rw-r--r--jstests/replsets/libs/tags.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/replsets/libs/tags.js b/jstests/replsets/libs/tags.js
index 816c4b6e2cb..ddf4d7f96f7 100644
--- a/jstests/replsets/libs/tags.js
+++ b/jstests/replsets/libs/tags.js
@@ -138,6 +138,7 @@ var TagsTest = function(options) {
assert.soonNoExcept(() => replTest.nodes[2].adminCommand({replSetStepUp: 1}).ok);
replTest.waitForState(replTest.nodes[2], ReplSetTest.State.PRIMARY);
replTest.awaitReplication();
+ replTest.waitForAllNewlyAddedRemovals();
// Create collection to guard against timeouts due to file allocation.
assert.commandWorked(replTest.getPrimary().getDB('foo').createCollection('bar'));