From 97156c42a0919a564d919202f81d45832772d8c5 Mon Sep 17 00:00:00 2001 From: William Schultz Date: Mon, 13 Nov 2017 17:26:27 -0500 Subject: SERVER-31940 replsetprio1.js should initiate replica set with any node as primary --- jstests/replsets/replsetprio1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jstests/replsets/replsetprio1.js') 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}, -- cgit v1.2.1