Skip to content

Commit a3de906

Browse files
authored
Fix and unmute OperatorPrivilegesIT (elastic#117302)
This updates the constants for `OperatorPrivilegesIT` to include the registered actions that were missing and unmutes the test Backport of: elastic#117218
1 parent 0559d6a commit a3de906

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,6 @@ tests:
275275
- class: org.elasticsearch.ingest.geoip.EnterpriseGeoIpDownloaderIT
276276
method: testEnterpriseDownloaderTask
277277
issue: https://github.com/elastic/elasticsearch/issues/115163
278-
- class: org.elasticsearch.xpack.security.operator.OperatorPrivilegesIT
279-
method: testEveryActionIsEitherOperatorOnlyOrNonOperator
280-
issue: https://github.com/elastic/elasticsearch/issues/102992
281278
- class: org.elasticsearch.xpack.deprecation.DeprecationHttpIT
282279
method: testDeprecatedSettingsReturnWarnings
283280
issue: https://github.com/elastic/elasticsearch/issues/108628

x-pack/plugin/security/qa/operator-privileges-tests/src/javaRestTest/java/org/elasticsearch/xpack/security/operator/Constants.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ public class Constants {
358358
"cluster:monitor/nodes/data_tier_usage",
359359
"cluster:monitor/nodes/features",
360360
"cluster:monitor/nodes/hot_threads",
361+
"cluster:monitor/nodes/index_mode_stats",
361362
"cluster:monitor/nodes/info",
362363
"cluster:monitor/nodes/stats",
363364
"cluster:monitor/nodes/usage",
@@ -399,6 +400,7 @@ public class Constants {
399400
"cluster:monitor/xpack/info/frozen_indices",
400401
"cluster:monitor/xpack/info/graph",
401402
"cluster:monitor/xpack/info/ilm",
403+
"cluster:monitor/xpack/info/logsdb",
402404
"cluster:monitor/xpack/info/logstash",
403405
"cluster:monitor/xpack/info/ml",
404406
"cluster:monitor/xpack/info/monitoring",
@@ -463,6 +465,7 @@ public class Constants {
463465
"cluster:monitor/xpack/usage/health_api",
464466
"cluster:monitor/xpack/usage/ilm",
465467
"cluster:monitor/xpack/usage/inference",
468+
"cluster:monitor/xpack/usage/logsdb",
466469
"cluster:monitor/xpack/usage/logstash",
467470
"cluster:monitor/xpack/usage/ml",
468471
"cluster:monitor/xpack/usage/monitoring",

0 commit comments

Comments
 (0)