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-08-25 14:04:04 -0400
commit008ec1f3696893694b2a3f9d96915bc55854774f (patch)
tree23515617dce81a78fceea20678b8d4fd95882671
parente1f5f40fc17f99fc06dda4621564db7e31be1132 (diff)
downloadmongo-008ec1f3696893694b2a3f9d96915bc55854774f.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. (cherry picked from commit c121509fa44611cfb883263cf748ebcdfcf55b49)
-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());