summaryrefslogtreecommitdiff
path: root/jstests/replsets/tenant_migration_donor_abort_state_transition.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/tenant_migration_donor_abort_state_transition.js')
-rw-r--r--jstests/replsets/tenant_migration_donor_abort_state_transition.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/tenant_migration_donor_abort_state_transition.js b/jstests/replsets/tenant_migration_donor_abort_state_transition.js
index 1dd476a5196..363b224e97f 100644
--- a/jstests/replsets/tenant_migration_donor_abort_state_transition.js
+++ b/jstests/replsets/tenant_migration_donor_abort_state_transition.js
@@ -57,7 +57,7 @@ function testAbortInitialState(donorRst) {
opObserverFp.off();
// Verify that the migration completes successfully.
- assert.commandWorked(migrationThread.returnData());
+ TenantMigrationTest.assertCommitted(migrationThread.returnData());
tenantMigrationTest.waitForDonorNodesToReachState(
donorRst.nodes, migrationId, tenantId, TenantMigrationTest.DonorState.kCommitted);