diff options
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 ****************/ |