diff options
author | Louis Williams <louis.williams@mongodb.com> | 2018-05-25 12:57:13 -0400 |
---|---|---|
committer | Louis Williams <louis.williams@mongodb.com> | 2018-05-25 12:57:13 -0400 |
commit | 7d0ea48dc8522f41e93b86d9c8f77c64b623ba60 (patch) | |
tree | 50273fdffe5a6ce820292182af98e609c57f45a9 /jstests/replsets/auth1.js | |
parent | b322ee9200172276b8d4935c623728129d62c3ef (diff) | |
download | mongo-7d0ea48dc8522f41e93b86d9c8f77c64b623ba60.tar.gz |
Revert "SERVER-34653 don't parse if early auth-checks can reject."
This reverts commit f2e762dc80e63fa47bd4c1d48e05f628464b0f54.
Diffstat (limited to 'jstests/replsets/auth1.js')
-rw-r--r-- | jstests/replsets/auth1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/auth1.js b/jstests/replsets/auth1.js index 81d3ddca816..f784c366cb4 100644 --- a/jstests/replsets/auth1.js +++ b/jstests/replsets/auth1.js @@ -93,7 +93,7 @@ load("jstests/replsets/rslib.js"); "find did not throw, returned: " + tojson(r)) .toString(); printjson(error); - assert.gt(error.indexOf("command find requires authentication"), -1, "error was non-auth"); + assert.gt(error.indexOf("not authorized"), -1, "error was non-auth"); } doQueryOn(slave); |