summaryrefslogtreecommitdiff
path: root/jstests/ssl
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2019-04-18 17:09:48 +0000
committerSara Golemon <sara.golemon@mongodb.com>2019-04-22 15:39:29 +0000
commit3ccf6f6e9ed261a390574fa8a3d590951e1f04ac (patch)
tree8ea076ffd1206855f2f47caf3e19b73ffe8803a4 /jstests/ssl
parenta1297d159df59db24be6f7b6acd5259390b6035f (diff)
downloadmongo-3ccf6f6e9ed261a390574fa8a3d590951e1f04ac.tar.gz
SERVER-40598 Set timeout on SSL mixed_mode_repl test
Diffstat (limited to 'jstests/ssl')
-rw-r--r--jstests/ssl/mixed_mode_repl.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/ssl/mixed_mode_repl.js b/jstests/ssl/mixed_mode_repl.js
index b2aab8ec8dc..a8d9eec73a7 100644
--- a/jstests/ssl/mixed_mode_repl.js
+++ b/jstests/ssl/mixed_mode_repl.js
@@ -3,6 +3,12 @@
load("jstests/ssl/libs/ssl_helpers.js");
+// Limit the amount of time we'll wait on a failure.
+// Apply equally to success tests as well so that
+// a failure to complete replication is more likely to
+// give us a false negative, than a false positive.
+ReplSetTest.kDefaultTimeoutMS = 3 * 60 * 1000;
+
// Verify that requireSSL allows ssl connections
print("=== Testing requireSSL/requireSSL cluster ===");
replShouldSucceed("require-require", requireSSL, requireSSL);