summaryrefslogtreecommitdiff
path: root/jstests/replsets/replset2.js
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2016-07-29 12:51:24 -0400
committerJudah Schvimer <judah@mongodb.com>2016-07-29 12:51:24 -0400
commite6793022c2bbc3bcda7356f183ce007592b4aefc (patch)
tree2d2431681623b5e547d5be9c2ffe442199f72dd4 /jstests/replsets/replset2.js
parent36c1bc3f588b36d631537c580f45537b9f4c8595 (diff)
downloadmongo-e6793022c2bbc3bcda7356f183ce007592b4aefc.tar.gz
SERVER-25339 increase wtimeout in replset2.js to 60 seconds
Diffstat (limited to 'jstests/replsets/replset2.js')
-rw-r--r--jstests/replsets/replset2.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/replset2.js b/jstests/replsets/replset2.js
index d578fe0d4b4..d5080072dbc 100644
--- a/jstests/replsets/replset2.js
+++ b/jstests/replsets/replset2.js
@@ -47,7 +47,7 @@ doTest = function(signal) {
printjson(master.getDB("admin").runCommand("replSetGetStatus"));
- assert.writeOK(bulk.execute({w: 3, wtimeout: 25000}));
+ assert.writeOK(bulk.execute({w: 3, wtimeout: 60000}));
print("replset2.js **** TEMP 1a ****");
@@ -66,7 +66,7 @@ doTest = function(signal) {
// Test write concern with a simple insert
print("replset2.js **** Try inserting a single record ****");
master.getDB(testDB).dropDatabase();
- var options = {writeConcern: {w: 3, wtimeout: 10000}};
+ var options = {writeConcern: {w: 3, wtimeout: 60000}};
assert.writeOK(master.getDB(testDB).foo.insert({n: 1}, options));
m1 = master.getDB(testDB).foo.findOne({n: 1});