summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2019-09-23 19:42:21 +0000
committerevergreen <evergreen@mongodb.com>2019-09-23 19:42:21 +0000
commit12915c50e2308507c2016d31e85f456d1278243d (patch)
tree31cd26949838f57f421fa6946c7d305bcd955962 /jstests/auth
parent4676e0b528c14cce420eb1e2b867be1b1f23094a (diff)
downloadmongo-12915c50e2308507c2016d31e85f456d1278243d.tar.gz
SERVER-43200 Make auth/mongoURIAuth.js robust to slow commands
Diffstat (limited to 'jstests/auth')
-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({