SERVER-126325 Stub implementation for getESECMKIdentifierListStatus (#53947)
GitOrigin-RevId: caf79e5ae92a851d72307cc5a6c0a2f638dc7592
This commit is contained in:
parent
0f2f1ffc39
commit
807840e85b
@ -6428,6 +6428,21 @@ export const authCommandsLib = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
testname: "getESECMKIdentifierListStatus",
|
||||
command: {getESECMKIdentifierListStatus: 1},
|
||||
skipTest: () => {
|
||||
return !getBuildInfo().modules.includes("atlas");
|
||||
},
|
||||
testcases: [
|
||||
{
|
||||
runOnDb: adminDbName,
|
||||
roles: roles_hostManager,
|
||||
privileges: [{resource: {cluster: true}, actions: ["getESECMKIdentifierListStatus"]}],
|
||||
expectFail: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
testname: "oidcListKeys",
|
||||
command: {oidcListKeys: 1},
|
||||
|
||||
@ -447,6 +447,7 @@ let viewsCommandTests = {
|
||||
getDatabaseVersion: {skip: isUnrelated},
|
||||
getDefaultRWConcern: {skip: isUnrelated},
|
||||
getDiagnosticData: {skip: isUnrelated},
|
||||
getESECMKIdentifierListStatus: {skip: isUnrelated},
|
||||
getESERotateActiveKEKStatus: {skip: isUnrelated},
|
||||
getLog: {skip: isUnrelated},
|
||||
getMore: {
|
||||
|
||||
@ -1541,6 +1541,7 @@ const wcCommandsTests = {
|
||||
getDatabaseVersion: {skip: "internal command"},
|
||||
getDefaultRWConcern: {skip: "does not accept write concern"},
|
||||
getDiagnosticData: {skip: "does not accept write concern"},
|
||||
getESECMKIdentifierListStatus: {skip: "does not accept write concern"},
|
||||
getESERotateActiveKEKStatus: {skip: "does not accept write concern"},
|
||||
getLog: {skip: "does not accept write concern"},
|
||||
getMore: {skip: "does not accept write concern"},
|
||||
@ -4131,6 +4132,7 @@ const wcTimeseriesCommandsTests = {
|
||||
getDatabaseVersion: {skip: "internal command"},
|
||||
getDefaultRWConcern: {skip: "does not accept write concern"},
|
||||
getDiagnosticData: {skip: "does not accept write concern"},
|
||||
getESECMKIdentifierListStatus: {skip: "does not accept write concern"},
|
||||
getESERotateActiveKEKStatus: {skip: "does not accept write concern"},
|
||||
getLog: {skip: "does not accept write concern"},
|
||||
getMore: {skip: "does not accept write concern"},
|
||||
|
||||
@ -832,6 +832,7 @@ const allCommands = {
|
||||
isAdminCommand: true,
|
||||
command: {getDiagnosticData: 1},
|
||||
},
|
||||
getESECMKIdentifierListStatus: {skip: "requires additional setup"},
|
||||
getESERotateActiveKEKStatus: {skip: "requires additional setup"},
|
||||
getLog: {
|
||||
isAdminCommand: true,
|
||||
|
||||
@ -309,6 +309,7 @@ const allCommands = {
|
||||
getDatabaseVersion: {skip: isNotAUserDataRead},
|
||||
getDefaultRWConcern: {skip: isNotAUserDataRead},
|
||||
getDiagnosticData: {skip: isNotAUserDataRead},
|
||||
getESECMKIdentifierListStatus: {skip: isNotAUserDataRead},
|
||||
getESERotateActiveKEKStatus: {skip: isNotAUserDataRead},
|
||||
getLog: {skip: isNotAUserDataRead},
|
||||
getMore: {
|
||||
|
||||
@ -704,6 +704,7 @@ const allCommands = {
|
||||
command: {getDiagnosticData: 1},
|
||||
shouldFail: false,
|
||||
},
|
||||
getESECMKIdentifierListStatus: {skip: "requires additional setup"},
|
||||
getESERotateActiveKEKStatus: {skip: "requires additional setup"},
|
||||
getLog: {
|
||||
isAdminCommand: true,
|
||||
|
||||
@ -662,6 +662,10 @@ const allTestCases = {
|
||||
getDatabaseVersion: {skip: "executes locally on mongos (not sent to any remote node)"},
|
||||
getDefaultRWConcern: {skip: "executes locally on mongos (not sent to any remote node)"},
|
||||
getDiagnosticData: {skip: "executes locally on mongos (not sent to any remote node)"},
|
||||
getESECMKIdentifierListStatus: {
|
||||
skip: "executes locally on mongos (not sent to any remote node)",
|
||||
conditional: true,
|
||||
},
|
||||
getESERotateActiveKEKStatus: {
|
||||
skip: "executes locally on mongos (not sent to any remote node)",
|
||||
conditional: true,
|
||||
@ -1330,6 +1334,7 @@ const allTestCases = {
|
||||
getDatabaseVersion: {skip: "TODO"},
|
||||
getDefaultRWConcern: {skip: "TODO"},
|
||||
getDiagnosticData: {skip: "TODO"},
|
||||
getESECMKIdentifierListStatus: {skip: "TODO", conditional: true},
|
||||
getESERotateActiveKEKStatus: {skip: "TODO", conditional: true},
|
||||
getLog: {skip: "TODO"},
|
||||
getMore: {skip: "TODO"},
|
||||
|
||||
@ -569,6 +569,7 @@ let testCases = {
|
||||
getDatabaseVersion: {skip: "does not accept read or write concern"},
|
||||
getDefaultRWConcern: {skip: "does not accept read or write concern"},
|
||||
getDiagnosticData: {skip: "does not accept read or write concern"},
|
||||
getESECMKIdentifierListStatus: {skip: "does not accept read or write concern"},
|
||||
getESERotateActiveKEKStatus: {skip: "does not accept read or write concern"},
|
||||
getLog: {skip: "does not accept read or write concern"},
|
||||
getMore: {skip: "does not accept read or write concern"},
|
||||
|
||||
@ -257,6 +257,7 @@ let testCases = {
|
||||
getDatabaseVersion: {skip: "does not return user data"},
|
||||
getDefaultRWConcern: {skip: "does not return user data"},
|
||||
getDiagnosticData: {skip: "does not return user data"},
|
||||
getESECMKIdentifierListStatus: {skip: "does not return user data"},
|
||||
getESERotateActiveKEKStatus: {skip: "does not return user data"},
|
||||
getLog: {skip: "does not return user data"},
|
||||
getMore: {skip: "shard version already established"},
|
||||
|
||||
@ -283,6 +283,7 @@ let testCases = {
|
||||
getDatabaseVersion: {skip: "does not return user data"},
|
||||
getDefaultRWConcern: {skip: "does not return user data"},
|
||||
getDiagnosticData: {skip: "does not return user data"},
|
||||
getESECMKIdentifierListStatus: {skip: "does not return user data"},
|
||||
getESERotateActiveKEKStatus: {skip: "does not return user data"},
|
||||
getLog: {skip: "does not return user data"},
|
||||
getMore: {skip: "shard version already established"},
|
||||
|
||||
@ -270,6 +270,7 @@ let testCases = {
|
||||
getDatabaseVersion: {skip: "does not return user data"},
|
||||
getDefaultRWConcern: {skip: "does not return user data"},
|
||||
getDiagnosticData: {skip: "does not return user data"},
|
||||
getESECMKIdentifierListStatus: {skip: "does not return user data"},
|
||||
getESERotateActiveKEKStatus: {skip: "does not return user data"},
|
||||
getLog: {skip: "does not return user data"},
|
||||
getMore: {skip: "shard version already established"},
|
||||
|
||||
@ -113,6 +113,7 @@ enums:
|
||||
getCmdLineOpts: "getCmdLineOpts"
|
||||
getDatabaseVersion: "getDatabaseVersion"
|
||||
getDefaultRWConcern: "getDefaultRWConcern"
|
||||
getESECMKIdentifierListStatus: "getESECMKIdentifierListStatus"
|
||||
getESERotateActiveKEKStatus: "getESERotateActiveKEKStatus"
|
||||
getLog: "getLog"
|
||||
getParameter: "getParameter"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user