summaryrefslogtreecommitdiff
path: root/jstests/serverless/shard_split_drop_state_doc_collection_committed.js
diff options
context:
space:
mode:
authorMatt Broadstone <mbroadst@mongodb.com>2022-12-19 14:02:29 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-12-19 14:32:12 +0000
commitc592502f7d044de8a70e6f40abfaca8439cb34b4 (patch)
treee758b8dbc10d47b2fa9ef70ae5d26bc56bf22e37 /jstests/serverless/shard_split_drop_state_doc_collection_committed.js
parent72ac89f5e7f44d93bda22eb4686b4827b03b65ed (diff)
downloadmongo-c592502f7d044de8a70e6f40abfaca8439cb34b4.tar.gz
SERVER-72025 Return block time in commitShardSplit command response
Diffstat (limited to 'jstests/serverless/shard_split_drop_state_doc_collection_committed.js')
-rw-r--r--jstests/serverless/shard_split_drop_state_doc_collection_committed.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/serverless/shard_split_drop_state_doc_collection_committed.js b/jstests/serverless/shard_split_drop_state_doc_collection_committed.js
index a43c140dc51..56b6cbcf31d 100644
--- a/jstests/serverless/shard_split_drop_state_doc_collection_committed.js
+++ b/jstests/serverless/shard_split_drop_state_doc_collection_committed.js
@@ -59,10 +59,7 @@ function testDroppingStateDocCollections(
const operation2 =
retryWithDifferentMigrationId ? test.createSplitOperation(tenantIds) : operation;
migrationId = operation2.migrationId;
- const runMigrationRes = operation2.commit();
-
- assert.commandWorked(runMigrationRes);
- assert.eq(runMigrationRes.state, "committed");
+ assert.commandWorked(operation2.commit());
operation2.forget();