summaryrefslogtreecommitdiff
path: root/jstests/replsets/tenant_migration_concurrent_state_doc_removal_and_stepdown.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/tenant_migration_concurrent_state_doc_removal_and_stepdown.js')
-rw-r--r--jstests/replsets/tenant_migration_concurrent_state_doc_removal_and_stepdown.js14
1 files changed, 3 insertions, 11 deletions
diff --git a/jstests/replsets/tenant_migration_concurrent_state_doc_removal_and_stepdown.js b/jstests/replsets/tenant_migration_concurrent_state_doc_removal_and_stepdown.js
index 4985b35ea32..2a963464b11 100644
--- a/jstests/replsets/tenant_migration_concurrent_state_doc_removal_and_stepdown.js
+++ b/jstests/replsets/tenant_migration_concurrent_state_doc_removal_and_stepdown.js
@@ -20,16 +20,8 @@ load("jstests/libs/uuid_util.js");
load("jstests/replsets/libs/tenant_migration_test.js");
load("jstests/replsets/libs/tenant_migration_util.js");
-const tenantMigrationTest = new TenantMigrationTest({
- name: jsTestName(),
- sharedOptions: {
- setParameter: {
- tenantMigrationGarbageCollectionDelayMS: 1,
- ttlMonitorSleepSecs: 1,
- }
- },
- initiateRstWithHighElectionTimeout: false
-});
+const tenantMigrationTest = new TenantMigrationTest(
+ {name: jsTestName(), quickGarbageCollection: true, initiateRstWithHighElectionTimeout: false});
const kTenantId = "testTenantId";
@@ -67,4 +59,4 @@ assert.commandFailedWithCode(forgetMigrationThread.returnData(),
donorRst.stopSet();
tenantMigrationTest.stop();
-})(); \ No newline at end of file
+})();