diff options
-rw-r--r-- | jstests/replsets/tenant_migration_donor_rollback_recovery.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/tenant_migration_donor_rollback_recovery.js b/jstests/replsets/tenant_migration_donor_rollback_recovery.js index 8f5ddb5ff22..f4a5c9ba19d 100644 --- a/jstests/replsets/tenant_migration_donor_rollback_recovery.js +++ b/jstests/replsets/tenant_migration_donor_rollback_recovery.js @@ -142,7 +142,7 @@ function testRollbackInitialState() { // Verify that the migration restarted successfully on the new primary despite rollback. const stateRes = assert.commandWorked(migrationThread.returnData()); assert.eq(stateRes.state, TenantMigrationTest.DonorState.kCommitted); - tenantMigrationTest.assertDonorNodesInExpectedState( + tenantMigrationTest.waitForDonorNodesToReachState( tenantMigrationTest.getDonorRst().nodes, migrationId, migrationOpts.tenantId, |