diff options
author | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2019-04-17 00:00:14 -0400 |
---|---|---|
committer | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2019-04-18 17:53:32 -0400 |
commit | ee1668de98a8e5c1cb5da7153073988d80b7b4d7 (patch) | |
tree | f69f3bf4af4ec0ee4b6bb60a383857791ecadded | |
parent | 11b09ee86c7c802f8173487e3d9a62ef627d2d00 (diff) | |
download | mongo-ee1668de98a8e5c1cb5da7153073988d80b7b4d7.tar.gz |
SERVER-40628: Set a higher numInitialSyncAttempts for replsetprio1.js
-rw-r--r-- | jstests/replsets/replsetprio1.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/replsets/replsetprio1.js b/jstests/replsets/replsetprio1.js index dc2d5295e4e..56150e6ecd9 100644 --- a/jstests/replsets/replsetprio1.js +++ b/jstests/replsets/replsetprio1.js @@ -2,7 +2,8 @@ (function() { "use strict"; - var replTest = new ReplSetTest({name: 'testSet', nodes: 3}); + var replTest = new ReplSetTest( + {name: 'testSet', nodes: 3, nodeOptions: {setParameter: "numInitialSyncAttempts=2"}}); var nodenames = replTest.nodeList(); var nodes = replTest.startSet(); |