summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2016-09-29 14:40:16 -0400
committerRandolph Tan <randolph@10gen.com>2016-09-30 11:16:16 -0400
commit0acb14374b6d520a383dd9fbc5cc22d09333effe (patch)
treef7c23a44181cbba48d0c8e34154e54ae6a4264ba /jstests
parent1cc4ba9aeb1f6e76105d775bedbed968dae57ccc (diff)
downloadmongo-0acb14374b6d520a383dd9fbc5cc22d09333effe.tar.gz
SERVER-26289 Increase wtimeout in commands_that_write_accept_wc_shards.js to 5 minutes
Diffstat (limited to 'jstests')
-rw-r--r--jstests/sharding/commands_that_write_accept_wc_shards.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/commands_that_write_accept_wc_shards.js b/jstests/sharding/commands_that_write_accept_wc_shards.js
index e584b4ee264..5620ac94ade 100644
--- a/jstests/sharding/commands_that_write_accept_wc_shards.js
+++ b/jstests/sharding/commands_that_write_accept_wc_shards.js
@@ -404,7 +404,7 @@ load('jstests/libs/write_concern_util.js');
});
function testValidWriteConcern(cmd) {
- cmd.req.writeConcern = {w: 'majority', wtimeout: 25000};
+ cmd.req.writeConcern = {w: 'majority', wtimeout: 5 * 60 * 1000};
jsTest.log("Testing " + tojson(cmd.req));
dropTestDatabase();
@@ -432,4 +432,4 @@ load('jstests/libs/write_concern_util.js');
testValidWriteConcern(cmd);
testInvalidWriteConcern(cmd);
});
-})(); \ No newline at end of file
+})();