diff options
-rw-r--r-- | jstests/auth/mongoURIAuth.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/jstests/auth/mongoURIAuth.js b/jstests/auth/mongoURIAuth.js index 7f60b2e750e..329dd0ff35a 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({ @@ -69,4 +72,4 @@ jsTestLog("Test that SCRAM-SHA-1 is the default authentication method."); runURIAuthTest(false, false, SCRAM_SHA_256, SCRAM_SHA_256_regex); -})();
\ No newline at end of file +})(); |