summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
};