diff options
author | Eric Milkie <milkie@10gen.com> | 2014-12-02 10:53:00 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2014-12-02 10:53:12 -0500 |
commit | 6c22ffb8d92dd795ff22e887b13797c36e86dc72 (patch) | |
tree | cc11b544206cb0673026818f0419a9aa2ae19a11 /jstests/replsets/rollback_too_new.js | |
parent | efb33fd38bd0e8733d14f657e7fa634880ec8f1d (diff) | |
download | mongo-6c22ffb8d92dd795ff22e887b13797c36e86dc72.tar.gz |
SERVER-16279 change node B to arbiter in rollback_too_new
Diffstat (limited to 'jstests/replsets/rollback_too_new.js')
-rw-r--r-- | jstests/replsets/rollback_too_new.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/rollback_too_new.js b/jstests/replsets/rollback_too_new.js index 7f1f4c5ca12..c8eeaa42370 100644 --- a/jstests/replsets/rollback_too_new.js +++ b/jstests/replsets/rollback_too_new.js @@ -10,7 +10,7 @@ replTest.initiate({"_id": name, "members": [ { "_id": 0, "host": nodes[0] }, - { "_id": 1, "host": nodes[1] }, + { "_id": 1, "host": nodes[1], arbiterOnly: true }, { "_id": 2, "host": nodes[2], priority: 0 }], "settings": { "chainingAllowed": false @@ -21,7 +21,7 @@ // get master and do an initial write var master = replTest.getMaster(); - var options = {writeConcern: {w: 3, wtimeout: 60000}}; + var options = {writeConcern: {w: 2, wtimeout: 60000}}; assert.writeOK(master.getDB(name).foo.insert({x: 1}, options)); // add an oplog entry from the distant future as the most recent entry on node C |