diff options
author | William Schultz <william.schultz@mongodb.com> | 2017-11-13 17:26:27 -0500 |
---|---|---|
committer | William Schultz <william.schultz@mongodb.com> | 2017-11-13 17:26:38 -0500 |
commit | 97156c42a0919a564d919202f81d45832772d8c5 (patch) | |
tree | 85c33e0b20dff00d19045ecced2e628b1e1e783f /jstests/replsets/replsetprio1.js | |
parent | 98dbbadf51f51369116bfb13215fc15ef1b613e5 (diff) | |
download | mongo-97156c42a0919a564d919202f81d45832772d8c5.tar.gz |
SERVER-31940 replsetprio1.js should initiate replica set with any node as primary
Diffstat (limited to 'jstests/replsets/replsetprio1.js')
-rw-r--r-- | jstests/replsets/replsetprio1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/replsetprio1.js b/jstests/replsets/replsetprio1.js index e77ed94b254..7ee42a18a64 100644 --- a/jstests/replsets/replsetprio1.js +++ b/jstests/replsets/replsetprio1.js @@ -6,7 +6,7 @@ var nodenames = replTest.nodeList(); var nodes = replTest.startSet(); - replTest.initiate({ + replTest.initiateWithAnyNodeAsPrimary({ "_id": "testSet", "members": [ {"_id": 0, "host": nodenames[0], "priority": 1}, |