diff options
Diffstat (limited to 'jstests/replsets/tenant_migration_test_max_bson_limit.js')
-rw-r--r-- | jstests/replsets/tenant_migration_test_max_bson_limit.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/replsets/tenant_migration_test_max_bson_limit.js b/jstests/replsets/tenant_migration_test_max_bson_limit.js index 04f1b661748..d12e4049725 100644 --- a/jstests/replsets/tenant_migration_test_max_bson_limit.js +++ b/jstests/replsets/tenant_migration_test_max_bson_limit.js @@ -65,8 +65,7 @@ const bulkWriteThread = bulkWriteThread.start(); writeFp.wait(); -const migrationRes = assert.commandWorked(tenantMigrationTest.runMigration(migrationOpts)); -assert.eq(migrationRes.state, TenantMigrationTest.DonorState.kCommitted); +TenantMigrationTest.assertCommitted(tenantMigrationTest.runMigration(migrationOpts)); writeFp.off(); bulkWriteThread.join(); |