diff options
Diffstat (limited to 'jstests/replsets/tenant_migration_external_cluster_validation.js')
-rw-r--r-- | jstests/replsets/tenant_migration_external_cluster_validation.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/replsets/tenant_migration_external_cluster_validation.js b/jstests/replsets/tenant_migration_external_cluster_validation.js index 378d6cc8c9c..69d30ac40f1 100644 --- a/jstests/replsets/tenant_migration_external_cluster_validation.js +++ b/jstests/replsets/tenant_migration_external_cluster_validation.js @@ -93,8 +93,6 @@ const recipientPrimaryTestDB = recipientPrimary.getDB(kDbName); const donorSecondaryTestDB = donorRst.getSecondary().getDB(kDbName); const recipientSecondaryTestDB = recipientRst.getSecondary().getDB(kDbName); -const tenantMigrationTest = new TenantMigrationTest({name: jsTestName(), donorRst, recipientRst}); - createUsers(donorRst); createUsers(recipientRst); @@ -137,6 +135,7 @@ recipientSecondaryTestDB.logout(); assert.eq(1, donorAdminDB.auth(kAdminUser.name, kAdminUser.pwd)); assert.eq(1, recipientAdminDB.auth(kAdminUser.name, kAdminUser.pwd)); +const tenantMigrationTest = new TenantMigrationTest({name: jsTestName(), donorRst, recipientRst}); const migrationId = UUID(); const migrationOpts = { migrationIdString: extractUUIDFromObject(migrationId), |