diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-09-23 19:42:21 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-09-23 19:42:21 +0000 |
commit | 12915c50e2308507c2016d31e85f456d1278243d (patch) | |
tree | 31cd26949838f57f421fa6946c7d305bcd955962 /jstests/auth | |
parent | 4676e0b528c14cce420eb1e2b867be1b1f23094a (diff) | |
download | mongo-12915c50e2308507c2016d31e85f456d1278243d.tar.gz |
SERVER-43200 Make auth/mongoURIAuth.js robust to slow commands
Diffstat (limited to 'jstests/auth')
-rw-r--r-- | jstests/auth/mongoURIAuth.js | 5 |
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({ |