From 99ac18b975425818210e58477202918eb75792c9 Mon Sep 17 00:00:00 2001 From: jannaerin Date: Mon, 20 Dec 2021 17:54:09 +0000 Subject: SERVER-62168 Use --oplogMinRetentionHours in tenant_migration_multi_writes.js to prevent the oplog from being truncated --- jstests/replsets/tenant_migration_multi_writes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jstests/replsets/tenant_migration_multi_writes.js b/jstests/replsets/tenant_migration_multi_writes.js index 59b7ed913b5..ff1744755aa 100644 --- a/jstests/replsets/tenant_migration_multi_writes.js +++ b/jstests/replsets/tenant_migration_multi_writes.js @@ -35,7 +35,8 @@ const donorRst = new ReplSetTest({ } }) }); -donorRst.startSet(); +const oplogMinRetentionHours = 2; // Set to standard Evergreen task timeout time +donorRst.startSet({oplogMinRetentionHours}); donorRst.initiateWithHighElectionTimeout(); const tenantMigrationTest = new TenantMigrationTest({name: jsTestName(), donorRst: donorRst}); -- cgit v1.2.1