From fe6bb636fb7d7489f6e67eecfe76caa847a149fd Mon Sep 17 00:00:00 2001 From: Cheahuychou Mao Date: Sun, 23 May 2021 03:03:28 +0000 Subject: SERVER-57141 Ensure that ReplSetTests in tenant migration tests have the intended node options --- jstests/replsets/tenant_migration_donor_rollback_recovery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jstests/replsets/tenant_migration_donor_rollback_recovery.js') 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, -- cgit v1.2.1