diff options
author | mathisbessamdb <mathis.bessa@mongodb.com> | 2022-05-09 13:19:28 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-09 14:18:38 +0000 |
commit | 464155c8c48ee56232ba12d8392697d070f33ba2 (patch) | |
tree | 8fff4cd95099d9095c2befdc1a61373a5857ff2b /jstests/serverless/shard_split_rejects_multiple_ops.js | |
parent | f7e9b07d14b42f237c454b3b4347d1419e85180c (diff) | |
download | mongo-464155c8c48ee56232ba12d8392697d070f33ba2.tar.gz |
SERVER-66269 fixing broken test that expects to run a second split
Diffstat (limited to 'jstests/serverless/shard_split_rejects_multiple_ops.js')
-rw-r--r-- | jstests/serverless/shard_split_rejects_multiple_ops.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/serverless/shard_split_rejects_multiple_ops.js b/jstests/serverless/shard_split_rejects_multiple_ops.js index 35099bf0633..2c1106948ec 100644 --- a/jstests/serverless/shard_split_rejects_multiple_ops.js +++ b/jstests/serverless/shard_split_rejects_multiple_ops.js @@ -83,9 +83,10 @@ function commitShardSplitConcurrently() { }), 117); // ConflictingOperationInProgress - test.waitForGarbageCollection(migrationId, tenantIds); + test.cleanupSuccesfulAbortedOrCommitted(migrationId, tenantIds); // another split operation can start after garbage collection of the previous one. + test.addRecipientNodes(); assert.commandWorked(donorPrimary.adminCommand({ commitShardSplit: 1, migrationId: UUID(), |