diff options
author | jannaerin <golden.janna@gmail.com> | 2021-12-20 17:54:09 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-02-22 23:51:31 +0000 |
commit | 99ac18b975425818210e58477202918eb75792c9 (patch) | |
tree | ad4c472dc7e0221798a6b563b20715725991215a /jstests | |
parent | 51388df36fed035ccee7733b82ca46c390612b14 (diff) | |
download | mongo-99ac18b975425818210e58477202918eb75792c9.tar.gz |
SERVER-62168 Use --oplogMinRetentionHours in tenant_migration_multi_writes.js to prevent the oplog from being truncated
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/tenant_migration_multi_writes.js | 3 |
1 files changed, 2 insertions, 1 deletions
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}); |