diff options
author | David Storch <david.storch@10gen.com> | 2018-11-28 17:25:24 -0500 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2019-01-15 17:54:33 -0500 |
commit | de2a803ca492261cac1d7f43a9f7c847cd0ea24d (patch) | |
tree | 03cb6ea2b304463e7458f557246a95978d1ef96a /jstests/auth | |
parent | af8fa6034f8a989cb47ee890c6a6b3e87e1bcf7b (diff) | |
download | mongo-de2a803ca492261cac1d7f43a9f7c847cd0ea24d.tar.gz |
SERVER-37451 Move all ClientCursor ownership to the global CursorManager.
Deleting the per-collection CursorManagers, and other
related cleanup, is left as future work.
Diffstat (limited to 'jstests/auth')
-rw-r--r-- | jstests/auth/getMore.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/jstests/auth/getMore.js b/jstests/auth/getMore.js index e232b52bb35..49c60fcf6ca 100644 --- a/jstests/auth/getMore.js +++ b/jstests/auth/getMore.js @@ -91,10 +91,9 @@ cursorId = res.cursor.id; testDB.logout(); assert.eq(1, testDB.auth("Mallory", "pwd")); - assert.commandFailedWithCode( - testDB.runCommand({getMore: cursorId, collection: "$cmd.listIndexes.foo"}), - ErrorCodes.Unauthorized, - "read from another user's listIndexes cursor"); + assert.commandFailedWithCode(testDB.runCommand({getMore: cursorId, collection: "foo"}), + ErrorCodes.Unauthorized, + "read from another user's listIndexes cursor"); testDB.logout(); // |