summaryrefslogtreecommitdiff
path: root/jstests/replsets/tenant_migration_recipient_stepdown_after_forget.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/tenant_migration_recipient_stepdown_after_forget.js')
-rw-r--r--jstests/replsets/tenant_migration_recipient_stepdown_after_forget.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/tenant_migration_recipient_stepdown_after_forget.js b/jstests/replsets/tenant_migration_recipient_stepdown_after_forget.js
index 42601d0b108..ab1fc85118a 100644
--- a/jstests/replsets/tenant_migration_recipient_stepdown_after_forget.js
+++ b/jstests/replsets/tenant_migration_recipient_stepdown_after_forget.js
@@ -36,8 +36,8 @@ const migrationOpts = {
readPreference: kReadPreference
};
-tenantMigrationTest.runMigration(
- migrationOpts, true /* retryOnRetryableErrors */, false /* automaticForgetMigration */);
+TenantMigrationTest.assertCommitted(tenantMigrationTest.runMigration(
+ migrationOpts, true /* retryOnRetryableErrors */, false /* automaticForgetMigration */));
const fpBeforeDroppingOplogBufferCollection =
configureFailPoint(tenantMigrationTest.getRecipientPrimary(),