summaryrefslogtreecommitdiff
path: root/jstests/replsets/tenant_migration_fetch_committed_transactions.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/tenant_migration_fetch_committed_transactions.js')
-rw-r--r--jstests/replsets/tenant_migration_fetch_committed_transactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/tenant_migration_fetch_committed_transactions.js b/jstests/replsets/tenant_migration_fetch_committed_transactions.js
index fca54a61db7..63850f4b5ba 100644
--- a/jstests/replsets/tenant_migration_fetch_committed_transactions.js
+++ b/jstests/replsets/tenant_migration_fetch_committed_transactions.js
@@ -95,7 +95,7 @@ const migrationOpts = {
migrationIdString: extractUUIDFromObject(migrationId),
tenantId,
};
-assert.commandWorked(tenantMigrationTest.runMigration(migrationOpts));
+TenantMigrationTest.assertCommitted(tenantMigrationTest.runMigration(migrationOpts));
// Verify that the recipient has fetched and written only the first committed transaction entry from
// the donor.