diff options
author | kvwalker <katherine.walker@10gen.com> | 2017-09-08 12:11:02 -0400 |
---|---|---|
committer | kvwalker <katherine.walker@mongodb.com> | 2017-09-18 14:21:49 -0400 |
commit | cc41e10c5fb97d2c6479724d26277863b17573b9 (patch) | |
tree | 994a7d993247677442d337f932031dccfb4dfd2b /jstests/replsets/rollback5.js | |
parent | e7c299f90d2f6b76b5ffe20efd1e80d91662c676 (diff) | |
download | mongo-cc41e10c5fb97d2c6479724d26277863b17573b9.tar.gz |
SERVER-30923 Increase wtimeouts to ReplSetTest.kDefaultTimeoutMS in all replication jstests
Diffstat (limited to 'jstests/replsets/rollback5.js')
-rw-r--r-- | jstests/replsets/rollback5.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/replsets/rollback5.js b/jstests/replsets/rollback5.js index 64faf8714cf..620fd67ed84 100644 --- a/jstests/replsets/rollback5.js +++ b/jstests/replsets/rollback5.js @@ -44,14 +44,14 @@ assert.soon(function() { return res.myState == 7; }, "Arbiter failed to initialize."); -var options = {writeConcern: {w: 2, wtimeout: 60000}, upsert: true}; +var options = {writeConcern: {w: 2, wtimeout: ReplSetTest.kDefaultTimeoutMS}, upsert: true}; assert.writeOK(A.foo.update({key: 'value1'}, {$set: {req: 'req'}}, options)); replTest.stop(AID); master = replTest.getPrimary(); assert(b_conn.host == master.host); options = { - writeConcern: {w: 1, wtimeout: 60000}, + writeConcern: {w: 1, wtimeout: ReplSetTest.kDefaultTimeoutMS}, upsert: true }; assert.writeOK(B.foo.update({key: 'value1'}, {$set: {res: 'res'}}, options)); @@ -60,7 +60,7 @@ replTest.restart(AID); master = replTest.getPrimary(); assert(a_conn.host == master.host); options = { - writeConcern: {w: 1, wtimeout: 60000}, + writeConcern: {w: 1, wtimeout: ReplSetTest.kDefaultTimeoutMS}, upsert: true }; assert.writeOK(A.foo.update({key: 'value2'}, {$set: {req: 'req'}}, options)); |