summaryrefslogtreecommitdiff
path: root/jstests/auth/mongoURIAuth.js
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 /jstests/auth/mongoURIAuth.js
parentd5454069f8ac23e69bb3c828749c20ef5f3ff424 (diff)
downloadmongo-cbe9fe465a38787ecfc5fa4717f1d8873c6d2023.tar.gz
SERVER-46235 mongoURIAuth.js tolerate extra appearances of regex in log
Diffstat (limited to 'jstests/auth/mongoURIAuth.js')
-rw-r--r--jstests/auth/mongoURIAuth.js2
1 files changed, 1 insertions, 1 deletions
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);
};