summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2019-09-25 23:03:17 +0000
committerevergreen <evergreen@mongodb.com>2019-09-25 23:03:17 +0000
commitb67f95d4d58a40a084c2efadaa074b03cd87d2f2 (patch)
treeff142429ade0de4d3dbb94f37ad9a727e38af0b2
parentdf442da1c38bfb1bdb1e6358bbe5ab263b0f78c1 (diff)
downloadmongo-b67f95d4d58a40a084c2efadaa074b03cd87d2f2.tar.gz
SERVER-43200 Make auth/mongoURIAuth.js robust to slow commands
(cherry picked from commit 12915c50e2308507c2016d31e85f456d1278243d)
-rw-r--r--jstests/auth/mongoURIAuth.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/auth/mongoURIAuth.js b/jstests/auth/mongoURIAuth.js
index 0ceff7b4b31..7688db2084e 100644
--- a/jstests/auth/mongoURIAuth.js
+++ b/jstests/auth/mongoURIAuth.js
@@ -5,7 +5,10 @@
'use strict';
const runURIAuthTest = function(userMech, uriMech, authMechanism, regexMechanism) {
- const conn = MongoRunner.runMongod({auth: ""});
+ const conn = MongoRunner.runMongod({
+ auth: "",
+ slowms: 30000, // Don't log slow operations to improve test reliability
+ });
const adminDB = conn.getDB("admin");
adminDB.createUser({