diff options
Diffstat (limited to 'jstests/replsets/tenant_migration_donor_rollback_recovery.js')
-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 c58d0f23d2d..39864e4e05a 100644 --- a/jstests/replsets/tenant_migration_donor_rollback_recovery.js +++ b/jstests/replsets/tenant_migration_donor_rollback_recovery.js @@ -137,7 +137,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, |