Skip to content

Commit

Permalink
Fix and unmute OperatorPrivilegesIT (#117218)
Browse files Browse the repository at this point in the history
This updates the constants for `OperatorPrivilegesIT` to include
the registered actions that were missing and unmutes the test
  • Loading branch information
tvernum authored Nov 22, 2024
1 parent de73397 commit eff0c42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ tests:
- class: org.elasticsearch.xpack.deprecation.DeprecationHttpIT
method: testDeprecatedSettingsReturnWarnings
issue: https://github.com/elastic/elasticsearch/issues/108628
- class: org.elasticsearch.xpack.security.operator.OperatorPrivilegesIT
method: testEveryActionIsEitherOperatorOnlyOrNonOperator
issue: https://github.com/elastic/elasticsearch/issues/102992
- class: org.elasticsearch.action.search.SearchQueryThenFetchAsyncActionTests
method: testBottomFieldSort
issue: https://github.com/elastic/elasticsearch/issues/116249
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ public class Constants {
"cluster:monitor/nodes/data_tier_usage",
"cluster:monitor/nodes/features",
"cluster:monitor/nodes/hot_threads",
"cluster:monitor/nodes/index_mode_stats",
"cluster:monitor/nodes/info",
"cluster:monitor/nodes/stats",
"cluster:monitor/nodes/usage",
Expand Down Expand Up @@ -399,6 +400,7 @@ public class Constants {
"cluster:monitor/xpack/info/frozen_indices",
"cluster:monitor/xpack/info/graph",
"cluster:monitor/xpack/info/ilm",
"cluster:monitor/xpack/info/logsdb",
"cluster:monitor/xpack/info/logstash",
"cluster:monitor/xpack/info/ml",
"cluster:monitor/xpack/info/monitoring",
Expand Down Expand Up @@ -463,6 +465,7 @@ public class Constants {
"cluster:monitor/xpack/usage/health_api",
"cluster:monitor/xpack/usage/ilm",
"cluster:monitor/xpack/usage/inference",
"cluster:monitor/xpack/usage/logsdb",
"cluster:monitor/xpack/usage/logstash",
"cluster:monitor/xpack/usage/ml",
"cluster:monitor/xpack/usage/monitoring",
Expand All @@ -488,6 +491,7 @@ public class Constants {
"indices:admin/block/add[s]",
"indices:admin/cache/clear",
"indices:admin/data_stream/lazy_rollover",
"indices:admin/data_stream/reindex",
"indices:internal/admin/ccr/restore/file_chunk/get",
"indices:internal/admin/ccr/restore/session/clear",
"indices:internal/admin/ccr/restore/session/put",
Expand Down

0 comments on commit eff0c42

Please sign in to comment.