Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,6 @@ tests:
- class: org.elasticsearch.action.RejectionActionIT
method: testSimulatedSearchRejectionLoad
issue: https://github.com/elastic/elasticsearch/issues/125901
- class: org.elasticsearch.xpack.security.authz.RBACEngineTests
method: testGetRoleDescriptorsIntersectionForRemoteClusterHasDeterministicOrderForIndicesPrivileges
issue: https://github.com/elastic/elasticsearch/issues/126061
- class: org.elasticsearch.search.CCSDuelIT
method: testTerminateAfter
issue: https://github.com/elastic/elasticsearch/issues/126085
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1699,10 +1699,10 @@ public void testGetRoleDescriptorsIntersectionForRemoteClusterHasDeterministicOr
Set<IndexPrivilege> splitBySelector = IndexPrivilege.resolveBySelectorAccess(
Set.copyOf(randomSubsetOf(randomIntBetween(1, 4), IndexPrivilege.names()))
);
// If we end up with failure and data access, we will split and end up with extra groups. Need to account for this for the
// final assertion
if (splitBySelector.size() == 2) {
extraGroups++;
// If we end up with failure and data access (or failure, data and failure and data access),
// we will split and end up with extra groups. Need to account for this for the final assertion
if (splitBySelector.size() >= 2) {
extraGroups += splitBySelector.size() - 1;
}
for (var privilege : splitBySelector) {
remoteIndicesBuilder.addGroup(
Expand Down