summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2018-12-05 15:00:35 -0500
committerJudah Schvimer <judah@mongodb.com>2018-12-05 15:00:35 -0500
commitc878f92bae27bc0bb269256babf28f428d5ac959 (patch)
treec72c056f0a903426b3320777c69f774c8ee2a864 /src/mongo/shell
parent1af2751f9d17ab303043dfa81d9485b4110845ec (diff)
downloadmongo-c878f92bae27bc0bb269256babf28f428d5ac959.tar.gz
SERVER-37753 Increase number of initial sync attempts in all tests to 10
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/replsettest.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/shell/replsettest.js b/src/mongo/shell/replsettest.js
index 1d56ff18481..72cf65887d1 100644
--- a/src/mongo/shell/replsettest.js
+++ b/src/mongo/shell/replsettest.js
@@ -2262,8 +2262,7 @@ var ReplSetTest = function(opts) {
// Turn off periodic noop writes for replica sets by default.
options.setParameter = options.setParameter || {};
options.setParameter.writePeriodicNoops = options.setParameter.writePeriodicNoops || false;
- options.setParameter.numInitialSyncAttempts =
- options.setParameter.numInitialSyncAttempts || 1;
+
// We raise the number of initial sync connect attempts for tests that disallow chaining.
// Disabling chaining can cause sync source selection to take longer so we must increase
// the number of connection attempts.