summaryrefslogtreecommitdiff
path: root/jstests/serverless/shard_split_wait_for_block_timestamp.js
diff options
context:
space:
mode:
authormathisbessamdb <mathis.bessa@mongodb.com>2022-02-17 22:10:09 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-17 22:47:16 +0000
commit909df54290217588dfb01b0942f8ba2cac642bac (patch)
treea3fa49bcfcf158480934e68a13c8e9c8d2c324ff /jstests/serverless/shard_split_wait_for_block_timestamp.js
parent34308d1aab95d7604384fb0e17591b0c9ccb7a54 (diff)
downloadmongo-909df54290217588dfb01b0942f8ba2cac642bac.tar.gz
SERVER-62366 Add forgetShardSplit command
Diffstat (limited to 'jstests/serverless/shard_split_wait_for_block_timestamp.js')
-rw-r--r--jstests/serverless/shard_split_wait_for_block_timestamp.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/serverless/shard_split_wait_for_block_timestamp.js b/jstests/serverless/shard_split_wait_for_block_timestamp.js
index 47b9121e91b..0416a9f0261 100644
--- a/jstests/serverless/shard_split_wait_for_block_timestamp.js
+++ b/jstests/serverless/shard_split_wait_for_block_timestamp.js
@@ -89,5 +89,8 @@ const awaitSecondSplitOperation = startParallelShell(
awaitSecondSplitOperation();
assertMigrationState(donorPrimary, secondOperationId, "committed");
+jsTestLog("Running forgetShardSplit command");
+assert.commandWorked(adminDb.runCommand({forgetShardSplit: 1, migrationId}));
+
test.stop();
})();