diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2023-03-14 16:34:58 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-15 14:19:40 +0000 |
commit | b39c58a5326680ed06616359f69e654fdaf3b2ac (patch) | |
tree | 1bebab32b135f8ddc0cdd1339803318e9529cbd3 /jstests/auth/lib | |
parent | 971a3e0082b6469cade1a7e4e706bfe2545cce98 (diff) | |
download | mongo-b39c58a5326680ed06616359f69e654fdaf3b2ac.tar.gz |
SERVER-74151 Create a new reads tags command for QE tags
Diffstat (limited to 'jstests/auth/lib')
-rw-r--r-- | jstests/auth/lib/commands_lib.js | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js index fd98f8ae941..fb848312724 100644 --- a/jstests/auth/lib/commands_lib.js +++ b/jstests/auth/lib/commands_lib.js @@ -4703,6 +4703,26 @@ export const authCommandsLib = { ] }, { + testname: "getQueryableEncryptionCountInfo", + command: { + getQueryableEncryptionCountInfo: "foo", + tokens: [ + {tokens: [{"s": BinData(0, "lUBO7Mov5Sb+c/D4cJ9whhhw/+PZFLCk/AQU2+BpumQ=")}]}, + ], + "forInsert": true, + }, + skipTest: (conn) => { + return !TestData.setParameters.featureFlagFLE2ProtocolVersion2; + }, + testcases: [ + { + runOnDb: adminDbName, + roles: {__system: 1}, + privileges: [{resource: {cluster: true}, actions: ["internal"]}], + }, + ] + }, + { testname: "getShardMap", command: {getShardMap: "x"}, testcases: [ @@ -5503,7 +5523,7 @@ export const authCommandsLib = { // Only enterprise knows of this command. skipTest: (conn) => { - return !getBuildInfo().modules.includes("enterprise") + return !getBuildInfo().modules.includes("enterprise") || !TestData.setParameters.featureFlagOIDC; }, testcases: [ @@ -5521,7 +5541,7 @@ export const authCommandsLib = { // Only enterprise knows of this command. skipTest: (conn) => { - return !getBuildInfo().modules.includes("enterprise") + return !getBuildInfo().modules.includes("enterprise") || !TestData.setParameters.featureFlagOIDC; }, testcases: [ |