diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2022-05-12 15:45:11 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-08-04 18:17:05 +0000 |
commit | 25b89027b94bd31b814a0f2d513affcd00ccd087 (patch) | |
tree | 6cdeed9dfb626aa40bb416ee51222f207d1fdfa0 | |
parent | 89bc2f7533ecf43dd57c413b40066928e4c24e24 (diff) | |
download | mongo-25b89027b94bd31b814a0f2d513affcd00ccd087.tar.gz |
SERVER-66027: Reduce CPU contention for the tenant migration stress test.
(cherry picked from commit bcaab458fa4ceb497aeca76fb504550f69f377eb)
-rw-r--r-- | jstests/replsets/tenant_migration_concurrent_migrations_stress_test.js | 7 |
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(); |