diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2020-02-22 00:45:57 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-24 15:50:39 +0000 |
commit | cbe9fe465a38787ecfc5fa4717f1d8873c6d2023 (patch) | |
tree | 5a5333cd5e58f65930d20c847b91835feeabe959 /jstests/auth/mongoURIAuth.js | |
parent | d5454069f8ac23e69bb3c828749c20ef5f3ff424 (diff) | |
download | mongo-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.js | 2 |
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); }; |