diff options
author | Cheahuychou Mao <mao.cheahuychou@gmail.com> | 2021-05-23 03:03:28 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-24 18:31:11 +0000 |
commit | fe6bb636fb7d7489f6e67eecfe76caa847a149fd (patch) | |
tree | d16f62398d350decff8620937f863aade79ed644 /jstests/replsets/tenant_migration_donor_rollback_recovery.js | |
parent | de4669ee3ee4d5952b3aa79c620e38027616a7ef (diff) | |
download | mongo-fe6bb636fb7d7489f6e67eecfe76caa847a149fd.tar.gz |
SERVER-57141 Ensure that ReplSetTests in tenant migration tests have the intended node options
Diffstat (limited to 'jstests/replsets/tenant_migration_donor_rollback_recovery.js')
-rw-r--r-- | jstests/replsets/tenant_migration_donor_rollback_recovery.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/tenant_migration_donor_rollback_recovery.js b/jstests/replsets/tenant_migration_donor_rollback_recovery.js index ff84d347487..c31be907360 100644 --- a/jstests/replsets/tenant_migration_donor_rollback_recovery.js +++ b/jstests/replsets/tenant_migration_donor_rollback_recovery.js @@ -28,7 +28,7 @@ const migrationX509Options = TenantMigrationUtil.makeX509OptionsForTest(); const recipientRst = new ReplSetTest({ name: "recipientRst", nodes: 1, - nodeOptions: Object.assign(migrationX509Options.recipient, { + nodeOptions: Object.assign({}, migrationX509Options.recipient, { setParameter: { tenantMigrationGarbageCollectionDelayMS: kGarbageCollectionDelayMS, ttlMonitorSleepSecs: 1, @@ -63,7 +63,7 @@ function testRollBack(setUpFunc, rollbackOpsFunc, steadyStateFunc) { const donorRst = new ReplSetTest({ name: "donorRst", nodes: 3, - nodeOptions: Object.assign(migrationX509Options.donor, { + nodeOptions: Object.assign({}, migrationX509Options.donor, { setParameter: { tenantMigrationGarbageCollectionDelayMS: kGarbageCollectionDelayMS, ttlMonitorSleepSecs: 1, |