summaryrefslogtreecommitdiff
path: root/jstests/replsets/tenant_migration_recipient_current_op.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/tenant_migration_recipient_current_op.js')
-rw-r--r--jstests/replsets/tenant_migration_recipient_current_op.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/tenant_migration_recipient_current_op.js b/jstests/replsets/tenant_migration_recipient_current_op.js
index a8585289d4b..bcd58ce8efd 100644
--- a/jstests/replsets/tenant_migration_recipient_current_op.js
+++ b/jstests/replsets/tenant_migration_recipient_current_op.js
@@ -185,7 +185,7 @@ assert.gte(currOp.numOpsApplied, 1, tojson(res));
fpAfterDataConsistent.off();
jsTestLog("Waiting for migration to complete.");
-assert.commandWorked(tenantMigrationTest.waitForMigrationToComplete(migrationOpts));
+TenantMigrationTest.assertCommitted(tenantMigrationTest.waitForMigrationToComplete(migrationOpts));
jsTestLog("Issuing a forget migration command.");
const forgetMigrationThread =