Skip to content

Commit

Permalink
Another
Browse files Browse the repository at this point in the history
  • Loading branch information
n1v0lg committed Oct 29, 2024
1 parent 3492095 commit d11ec72
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@
import java.util.Map;

import static org.elasticsearch.TransportVersions.V_8_15_0;
import static org.elasticsearch.TransportVersions.V_8_6_0;
import static org.elasticsearch.xcontent.XContentFactory.jsonBuilder;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.Matchers.containsInAnyOrder;

public class SecurityIndexRoleMappingCleanupIT extends AbstractUpgradeTestCase {

public void testCleanupDuplicateMappings() throws Exception {
assumeTrue("Must have transport version higher than: " + V_8_6_0, minimumTransportVersion().onOrAfter(V_8_6_0));
if (CLUSTER_TYPE == ClusterType.OLD) {
// If we're in a state where the same operator-defined role mappings can exist both in cluster state and the native store
// (V_8_15_0 transport added to security.role_mapping_cleanup feature added), create a state
Expand Down

0 comments on commit d11ec72

Please sign in to comment.