Skip to content

Commit eff0c42

Browse files
authored
Fix and unmute OperatorPrivilegesIT (#117218)
This updates the constants for `OperatorPrivilegesIT` to include the registered actions that were missing and unmutes the test
1 parent de73397 commit eff0c42

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ tests:
162162
- class: org.elasticsearch.xpack.deprecation.DeprecationHttpIT
163163
method: testDeprecatedSettingsReturnWarnings
164164
issue: https://github.com/elastic/elasticsearch/issues/108628
165-
- class: org.elasticsearch.xpack.security.operator.OperatorPrivilegesIT
166-
method: testEveryActionIsEitherOperatorOnlyOrNonOperator
167-
issue: https://github.com/elastic/elasticsearch/issues/102992
168165
- class: org.elasticsearch.action.search.SearchQueryThenFetchAsyncActionTests
169166
method: testBottomFieldSort
170167
issue: https://github.com/elastic/elasticsearch/issues/116249

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

Lines changed: 4 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",
@@ -488,6 +491,7 @@ public class Constants {
488491
"indices:admin/block/add[s]",
489492
"indices:admin/cache/clear",
490493
"indices:admin/data_stream/lazy_rollover",
494+
"indices:admin/data_stream/reindex",
491495
"indices:internal/admin/ccr/restore/file_chunk/get",
492496
"indices:internal/admin/ccr/restore/session/clear",
493497
"indices:internal/admin/ccr/restore/session/put",

0 commit comments

Comments
 (0)