diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-09-25 23:03:17 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-09-25 23:03:17 +0000 |
commit | b67f95d4d58a40a084c2efadaa074b03cd87d2f2 (patch) | |
tree | ff142429ade0de4d3dbb94f37ad9a727e38af0b2 | |
parent | df442da1c38bfb1bdb1e6358bbe5ab263b0f78c1 (diff) | |
download | mongo-b67f95d4d58a40a084c2efadaa074b03cd87d2f2.tar.gz |
SERVER-43200 Make auth/mongoURIAuth.js robust to slow commands
(cherry picked from commit 12915c50e2308507c2016d31e85f456d1278243d)
-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({ |