summaryrefslogtreecommitdiff
path: root/jstests/replsets/tenant_migration_recipient_resumes_on_donor_failover.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/tenant_migration_recipient_resumes_on_donor_failover.js')
-rw-r--r--jstests/replsets/tenant_migration_recipient_resumes_on_donor_failover.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/replsets/tenant_migration_recipient_resumes_on_donor_failover.js b/jstests/replsets/tenant_migration_recipient_resumes_on_donor_failover.js
index c84129d98ec..b5af732a935 100644
--- a/jstests/replsets/tenant_migration_recipient_resumes_on_donor_failover.js
+++ b/jstests/replsets/tenant_migration_recipient_resumes_on_donor_failover.js
@@ -115,7 +115,8 @@ function runTest(failPoint) {
assert.eq(donorSecondary.host, currOp.donorSyncSource, currOp);
hangOnRetry.off();
- assert.commandWorked(tenantMigrationTest.waitForMigrationToComplete(migrationOpts));
+ TenantMigrationTest.assertCommitted(
+ tenantMigrationTest.waitForMigrationToComplete(migrationOpts));
// Remove 'donorPrimary' so that the test can complete properly.
donorRst.remove(donorPrimary);
recipientRst.stopSet();