summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2017-04-14 15:01:00 -0400
committerMatthew Russotto <matthew.russotto@10gen.com>2017-04-14 17:03:15 -0400
commitc121509fa44611cfb883263cf748ebcdfcf55b49 (patch)
tree5bfbf17348c0ccc6ac4064dea5a000cf6d088132
parentcc432f2d524c4b76c4bb45b287468b08b548882b (diff)
downloadmongo-c121509fa44611cfb883263cf748ebcdfcf55b49.tar.gz
SERVER-28277 Need to increase timeout in read_committed_with_catalog_changes.js
The slowest builds (ASAN + DEBUG) sometimes fail with current timeout.
-rw-r--r--jstests/replsets/read_committed_with_catalog_changes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/read_committed_with_catalog_changes.js b/jstests/replsets/read_committed_with_catalog_changes.js
index 02d26759e26..7928b16d3ae 100644
--- a/jstests/replsets/read_committed_with_catalog_changes.js
+++ b/jstests/replsets/read_committed_with_catalog_changes.js
@@ -214,7 +214,7 @@ load("jstests/replsets/rslib.js"); // For startSetIfSupportsReadMajority.
"Expected read of " + coll.getFullName() + " to block");
}
- function assertReadsSucceed(coll, timeoutMs = 10000) {
+ function assertReadsSucceed(coll, timeoutMs = 20000) {
var res =
coll.runCommand('find', {"readConcern": {"level": "majority"}, "maxTimeMS": timeoutMs});
assert.commandWorked(res, 'reading from ' + coll.getFullName());