summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorYuhong Zhang <yuhong.zhang@mongodb.com>2022-10-27 14:17:42 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-27 15:22:43 +0000
commitfd7fc84d3505bf69c79ff4dfc86784c1bb2b11e2 (patch)
treef22bdd97e00c2ace0094c99f0ecd13bd95430f1b /jstests
parent7553124d811c977040f18934f9404dc6305749c2 (diff)
downloadmongo-fd7fc84d3505bf69c79ff4dfc86784c1bb2b11e2.tar.gz
SERVER-70836 Increase election timeout to avoid generating extra oplog entries in repair_invalidates_replica_set_config.js
Diffstat (limited to 'jstests')
-rw-r--r--jstests/disk/repair_invalidates_replica_set_config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/disk/repair_invalidates_replica_set_config.js b/jstests/disk/repair_invalidates_replica_set_config.js
index b8719a794cc..8b3745f5d77 100644
--- a/jstests/disk/repair_invalidates_replica_set_config.js
+++ b/jstests/disk/repair_invalidates_replica_set_config.js
@@ -17,7 +17,7 @@ const collName = "test";
let replSet = new ReplSetTest({nodes: 2});
replSet.startSet();
-replSet.initiate();
+replSet.initiateWithHighElectionTimeout();
replSet.awaitReplication();
const originalSecondary = replSet.getSecondary();