diff options
Diffstat (limited to 'jstests/replsets/tenant_migration_clones_system_views.js')
-rw-r--r-- | jstests/replsets/tenant_migration_clones_system_views.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/replsets/tenant_migration_clones_system_views.js b/jstests/replsets/tenant_migration_clones_system_views.js index dd6d5e9e5d5..f969d6d4d2b 100644 --- a/jstests/replsets/tenant_migration_clones_system_views.js +++ b/jstests/replsets/tenant_migration_clones_system_views.js @@ -49,8 +49,7 @@ const migrationOpts = { tenantId, }; -const stateRes = assert.commandWorked(tenantMigrationTest.runMigration(migrationOpts)); -assert.eq(TenantMigrationTest.DonorState.kCommitted, stateRes.state); +TenantMigrationTest.assertCommitted(tenantMigrationTest.runMigration(migrationOpts)); // Verify that the view was cloned correctly. const recipientView = recipientPrimary.getDB(tenantDBName)[viewName]; |