summaryrefslogtreecommitdiff
path: root/jstests/replsets/tenant_migration_concurrent_migrations_stress_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/tenant_migration_concurrent_migrations_stress_test.js')
-rw-r--r--jstests/replsets/tenant_migration_concurrent_migrations_stress_test.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/jstests/replsets/tenant_migration_concurrent_migrations_stress_test.js b/jstests/replsets/tenant_migration_concurrent_migrations_stress_test.js
index 57c3027ecab..187aef9af39 100644
--- a/jstests/replsets/tenant_migration_concurrent_migrations_stress_test.js
+++ b/jstests/replsets/tenant_migration_concurrent_migrations_stress_test.js
@@ -37,8 +37,11 @@ const setParameterOpts = {
maxTenantMigrationRecipientThreadPoolSize: 1000,
maxTenantMigrationDonorServiceThreadPoolSize: 1000
};
-const tenantMigrationTest =
- new TenantMigrationTest({name: jsTestName(), sharedOptions: {setParameter: setParameterOpts}});
+const tenantMigrationTest = new TenantMigrationTest({
+ name: jsTestName(),
+ sharedOptions: {setParameter: setParameterOpts},
+ optimizeMigrations: false
+});
const donorPrimary = tenantMigrationTest.getDonorPrimary();
const recipientPrimary = tenantMigrationTest.getRecipientPrimary();