summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-04-03 05:36:58 -0400
committerMatt Kangas <matt.kangas@mongodb.com>2014-04-09 18:40:08 -0400
commit8cb4c299cacce221c6fc34722c27c5a9cc74c607 (patch)
tree4be10df12661c1fe3e01bf1f5cc45695544ae1ac
parenta9587732dc24b220ad687c06205da9e20906ab45 (diff)
downloadmongo-8cb4c299cacce221c6fc34722c27c5a9cc74c607.tar.gz
SERVER-13477 make rollback5.js less likely to fail due to its assumption about which node is primary
(cherry picked from commit acc04078339e0a11a33a22ea7aacad8115d7f399)
-rw-r--r--jstests/replsets/rollback5.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/rollback5.js b/jstests/replsets/rollback5.js
index 1d325cb1f3e..79b5b274435 100644
--- a/jstests/replsets/rollback5.js
+++ b/jstests/replsets/rollback5.js
@@ -8,7 +8,7 @@ var nodes = replTest.nodeList();
var conns = replTest.startSet();
var r = replTest.initiate({ "_id": "rollback5",
"members": [
- { "_id": 0, "host": nodes[0] },
+ { "_id": 0, "host": nodes[0], priority: 3 },
{ "_id": 1, "host": nodes[1] },
{ "_id": 2, "host": nodes[2], arbiterOnly: true}]
});