From e78be4cb86c2f904d4dce900efd55c9481f3e9d7 Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Tue, 4 Jun 2019 15:09:22 -0600 Subject: [PATCH] Unmute PermissionsIT test and enable debug logging for it This unmutes `testWhenUserLimitedByOnlyAliasOfIndexCanWriteToIndexWhichWasRolledoverByILMPolicy` and enables DEBUG logging. The failure from this test case from a query running rather than ILM itself, so more information is needed. Relates to #41440 --- .../java/org/elasticsearch/xpack/security/PermissionsIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugin/ilm/qa/with-security/src/test/java/org/elasticsearch/xpack/security/PermissionsIT.java b/x-pack/plugin/ilm/qa/with-security/src/test/java/org/elasticsearch/xpack/security/PermissionsIT.java index 8e74426e0b390..d8c50c470664e 100644 --- a/x-pack/plugin/ilm/qa/with-security/src/test/java/org/elasticsearch/xpack/security/PermissionsIT.java +++ b/x-pack/plugin/ilm/qa/with-security/src/test/java/org/elasticsearch/xpack/security/PermissionsIT.java @@ -24,6 +24,7 @@ import org.elasticsearch.common.xcontent.json.JsonXContent; import org.elasticsearch.common.xcontent.support.XContentMapValues; import org.elasticsearch.rest.RestStatus; +import org.elasticsearch.test.junit.annotations.TestLogging; import org.elasticsearch.test.rest.ESRestTestCase; import org.elasticsearch.xpack.core.indexlifecycle.DeleteAction; import org.elasticsearch.xpack.core.indexlifecycle.LifecycleAction; @@ -137,7 +138,7 @@ public void testCanViewExplainOnUnmanagedIndex() throws Exception { * Tests when the user is limited by alias of an index is able to write to index * which was rolled over by an ILM policy. */ - @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/41440") + @TestLogging("org.elasticsearch:DEBUG") public void testWhenUserLimitedByOnlyAliasOfIndexCanWriteToIndexWhichWasRolledoverByILMPolicy() throws IOException, InterruptedException { /*