summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2016-02-04 13:12:53 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2016-10-24 19:37:58 -0400
commitc69973d14c6003bc98b0c6a5eef83306b9065ef6 (patch)
tree4f1e3c0cf012b5c76a20a816b7db5b5269a9da50
parent437d89220479c5d16d58bb6fffd1cd35a58f9e77 (diff)
downloadmongo-c69973d14c6003bc98b0c6a5eef83306b9065ef6.tar.gz
SERVER-22472 wait longer for write concern, for slow hosts
(cherry picked from commit 919e56ef3ad34bedb23b9a2590f312c862179d93)
-rw-r--r--jstests/replsets/rollback_index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/rollback_index.js b/jstests/replsets/rollback_index.js
index 7a0ac7520aa..d3bf747680c 100644
--- a/jstests/replsets/rollback_index.js
+++ b/jstests/replsets/rollback_index.js
@@ -89,7 +89,7 @@ replTest.awaitSecondaryNodes();
// Perform a write that should succeed if there's no unique index on B.
options = {
- writeConcern: {w: 'majority', wtimeout: 10000}
+ writeConcern: {w: 'majority', wtimeout: 60000}
};
assert.writeOK(a_conn.getDB(name).foo.insert({x: 1}, options));