summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-02-22 00:45:57 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-24 15:50:39 +0000
commitcbe9fe465a38787ecfc5fa4717f1d8873c6d2023 (patch)
tree5a5333cd5e58f65930d20c847b91835feeabe959
parentd5454069f8ac23e69bb3c828749c20ef5f3ff424 (diff)
downloadmongo-cbe9fe465a38787ecfc5fa4717f1d8873c6d2023.tar.gz
SERVER-46235 mongoURIAuth.js tolerate extra appearances of regex in log
-rw-r--r--buildscripts/resmokeconfig/suites/auth.yml2
-rw-r--r--jstests/auth/mongoURIAuth.js2
2 files changed, 1 insertions, 3 deletions
diff --git a/buildscripts/resmokeconfig/suites/auth.yml b/buildscripts/resmokeconfig/suites/auth.yml
index 6dcd5479a58..073995749db 100644
--- a/buildscripts/resmokeconfig/suites/auth.yml
+++ b/buildscripts/resmokeconfig/suites/auth.yml
@@ -6,8 +6,6 @@ selector:
exclude_files:
# Skip until SERVER-25618 is resolved.
- jstests/auth/repl.js
- # Disable incompatible with json logging per SERVER-46235
- - jstests/auth/mongoURIAuth.js
# Auth tests start their own mongod's.
executor:
diff --git a/jstests/auth/mongoURIAuth.js b/jstests/auth/mongoURIAuth.js
index 27936a9a6c1..c4b123c9818 100644
--- a/jstests/auth/mongoURIAuth.js
+++ b/jstests/auth/mongoURIAuth.js
@@ -51,7 +51,7 @@ const runURIAuthTest = function(userMech, uriMech, authMechanism, regexMechanism
adminDB.logout();
const matches = tojson(log.log).match(regexMechanism);
assert(matches);
- assert.eq(2, matches.length);
+ assert.gte(matches.length, 2);
MongoRunner.stopMongod(conn);
};