diff --git a/muted-tests.yml b/muted-tests.yml index 2a61f44a6da29..c3ab2350f5094 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -518,9 +518,6 @@ tests: - class: org.elasticsearch.indices.cluster.FieldCapsForceConnectTimeoutIT method: testTimeoutSetting issue: https://github.com/elastic/elasticsearch/issues/132179 -- class: org.elasticsearch.xpack.security.authz.store.CompositeRolesStoreTests - method: testCacheCleanupOnProjectDeletion - issue: https://github.com/elastic/elasticsearch/issues/132218 - class: org.elasticsearch.test.rest.yaml.MDPYamlTestSuiteIT method: test {yaml=mdp/10_basic/Index using shared data path} issue: https://github.com/elastic/elasticsearch/issues/132223 @@ -567,4 +564,4 @@ tests: # issue: "https://github.com/elastic/elasticsearch/..." # - class: "org.elasticsearch.xpack.esql.**" # method: "test {union_types.MultiIndexIpStringStatsInline *}" -# issue: "https://github.com/elastic/elasticsearch/..." +# issue: "https://github.com/elastic/elasticsearch/..." \ No newline at end of file diff --git a/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStoreTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStoreTests.java index 0cc19c3fd0d2c..7a97a74cf44b8 100644 --- a/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStoreTests.java +++ b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStoreTests.java @@ -2313,11 +2313,6 @@ public void testCacheCleanupOnProjectDeletion() throws Exception { doCallRealMethod().when(fileRolesStore).accept(anySet(), anyActionListener()); when(fileRolesStore.roleDescriptors(anySet())).thenReturn(Set.of(roleDescriptor)); - final NativeRolesStore nativeRolesStore = mock(NativeRolesStore.class); - doCallRealMethod().when(nativeRolesStore).accept(anySet(), anyActionListener()); - final ReservedRolesStore reservedRolesStore = mock(ReservedRolesStore.class); - doCallRealMethod().when(reservedRolesStore).accept(anySet(), anyActionListener()); - final AtomicReference projectId = new AtomicReference<>(ProjectId.DEFAULT); final ProjectResolver projectResolver = TestProjectResolvers.singleProject(projectId::get); @@ -2325,8 +2320,8 @@ public void testCacheCleanupOnProjectDeletion() throws Exception { Settings.EMPTY, clusterService, fileRolesStore, - nativeRolesStore, - reservedRolesStore, + null, + null, null, null, null,