Skip to content

Commit

Permalink
fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Nov 8, 2024
1 parent 51a9863 commit 4854a82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,6 @@ tests:
- class: org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshotsCanMatchOnCoordinatorIntegTests
method: testSearchableSnapshotShardsAreSkippedBySearchRequestWithoutQueryingAnyNodeWhenTheyAreOutsideOfTheQueryRange
issue: https://github.com/elastic/elasticsearch/issues/116523
- class: org.elasticsearch.xpack.core.security.authz.permission.RemoteClusterPermissionsTests
method: testCollapseAndRemoveUnsupportedPrivileges
issue: https://github.com/elastic/elasticsearch/issues/116520

# Examples:
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ public void testCollapseAndRemoveUnsupportedPrivileges() {
// create random groups with random privileges for random clusters
List<RemoteClusterPermissionGroup> randomGroups = generateRandomGroups(true);
// replace a random value with one that is allowed
String singleValidPrivilege = randomFrom(RemoteClusterPermissions.allowedRemoteClusterPermissions.get(TransportVersion.current()));
String singleValidPrivilege = randomFrom(
RemoteClusterPermissions.allowedRemoteClusterPermissions.get(lastTransportVersionPermission));
groupPrivileges.get(0)[0] = singleValidPrivilege;

for (int i = 0; i < randomGroups.size(); i++) {
Expand Down

0 comments on commit 4854a82

Please sign in to comment.