From 6c22ffb8d92dd795ff22e887b13797c36e86dc72 Mon Sep 17 00:00:00 2001 From: Eric Milkie Date: Tue, 2 Dec 2014 10:53:00 -0500 Subject: SERVER-16279 change node B to arbiter in rollback_too_new --- jstests/replsets/rollback_too_new.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jstests/replsets/rollback_too_new.js') 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 -- cgit v1.2.1