From 464155c8c48ee56232ba12d8392697d070f33ba2 Mon Sep 17 00:00:00 2001 From: mathisbessamdb Date: Mon, 9 May 2022 13:19:28 +0000 Subject: SERVER-66269 fixing broken test that expects to run a second split --- jstests/serverless/shard_split_rejects_multiple_ops.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jstests/serverless/shard_split_rejects_multiple_ops.js') 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(), -- cgit v1.2.1