diff options
author | Randolph Tan <randolph@10gen.com> | 2017-09-28 16:33:27 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2017-09-28 16:51:00 -0400 |
commit | f88f6f43b7ae2af0286437da8f00c0079ed99145 (patch) | |
tree | ec22edf29d746877baa697f80bc10d0b40ebb616 /jstests/auth/lib/commands_lib.js | |
parent | 0309fa8091bdf7d6663a02fefd5d61ae0965e7b1 (diff) | |
download | mongo-f88f6f43b7ae2af0286437da8f00c0079ed99145.tar.gz |
SERVER-30894/SERVER-31290 Implement command for transferring session information during migration
This reverts commit f24fbb0011c6ded9101f08574e7cd07e63690a9b.
This reverts commit d293f6857bcb36b26ca8fa03d90299714fe060de.
Diffstat (limited to 'jstests/auth/lib/commands_lib.js')
-rw-r--r-- | jstests/auth/lib/commands_lib.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js index 6717e17e64d..7cde9677e96 100644 --- a/jstests/auth/lib/commands_lib.js +++ b/jstests/auth/lib/commands_lib.js @@ -4454,6 +4454,19 @@ var authCommandsLib = { command: {refreshSessionsInternal: []}, testcases: [{runOnDb: adminDbName, roles: {__system: 1}}], }, + { + testname: "_getNextSessionMods", + command: {_getNextSessionMods: "a-b"}, + skipSharded: true, + testcases: [ + { + runOnDb: adminDbName, + roles: {__system: 1}, + privileges: [{resource: {cluster: true}, actions: ["internal"]}], + expectFail: true + }, + ] + }, ], /************* SHARED TEST LOGIC ****************/ |