summaryrefslogtreecommitdiff
path: root/jstests/replsets/replset2.js
diff options
context:
space:
mode:
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});