summaryrefslogtreecommitdiff
path: root/jstests/replsets/auth2.js
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-12-02 15:43:13 -0500
committerEric Milkie <milkie@10gen.com>2014-12-03 12:58:24 -0500
commit5598c216ca28234735999ca25b3f6f9a030f51e6 (patch)
treef3acde451094af8436a321e8a8780439e2998353 /jstests/replsets/auth2.js
parent225aa52bd22a54d06cc090e7cd4b0fd4312213b2 (diff)
downloadmongo-5598c216ca28234735999ca25b3f6f9a030f51e6.tar.gz
SERVER-16391 archor primary in replset tests, or make agnostic to primary node
Diffstat (limited to 'jstests/replsets/auth2.js')
-rw-r--r--jstests/replsets/auth2.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/auth2.js b/jstests/replsets/auth2.js
index 8dab1918d23..dfdaa6b53fb 100644
--- a/jstests/replsets/auth2.js
+++ b/jstests/replsets/auth2.js
@@ -31,8 +31,8 @@ var hostnames = rs.nodeList();
rs.initiate({ "_id" : name,
"members" : [
{"_id" : 0, "host" : hostnames[0], "priority" : 2},
- {"_id" : 1, "host" : hostnames[1]},
- {"_id" : 2, "host" : hostnames[2]}
+ {"_id" : 1, "host" : hostnames[1], priority: 0},
+ {"_id" : 2, "host" : hostnames[2], priority: 0}
]});
var master = rs.getMaster();