From 4012da662d06c33c97a1456131bdffaafe2b3c47 Mon Sep 17 00:00:00 2001 From: Alexander Reelsen Date: Thu, 10 Aug 2017 10:17:22 +0200 Subject: [PATCH] Tests: Add @AwaitsFix to failing test Original commit: elastic/x-pack-elasticsearch@545155ec13d50e4ad839ae2843761f3625644e49 --- .../watcher/history/HistoryTemplateHttpMappingsTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateHttpMappingsTests.java b/plugin/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateHttpMappingsTests.java index 1cf5636708f..c5b25423ad0 100644 --- a/plugin/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateHttpMappingsTests.java +++ b/plugin/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateHttpMappingsTests.java @@ -15,7 +15,6 @@ import org.elasticsearch.search.aggregations.Aggregations; import org.elasticsearch.search.aggregations.bucket.terms.Terms; import org.elasticsearch.test.http.MockResponse; import org.elasticsearch.test.http.MockWebServer; -import org.elasticsearch.test.junit.annotations.TestLogging; import org.elasticsearch.xpack.common.http.HttpMethod; import org.elasticsearch.xpack.common.http.HttpRequestTemplate; import org.elasticsearch.xpack.watcher.condition.AlwaysCondition; @@ -75,7 +74,6 @@ public class HistoryTemplateHttpMappingsTests extends AbstractWatcherIntegration return false; // remove security noise from this test } - @TestLogging("org.elasticsearch.test.http:TRACE") public void testHttpFields() throws Exception { PutWatchResponse putWatchResponse = watcherClient().preparePutWatch("_id").setSource(watchBuilder() .trigger(schedule(interval("5s"))) @@ -128,6 +126,7 @@ public class HistoryTemplateHttpMappingsTests extends AbstractWatcherIntegration assertThat(webServer.requests().get(1).getUri().getPath(), is("/webhook/path")); } + @AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/2222") public void testExceptionMapping() { // delete all history indices to ensure that we start with a fresh mapping assertAcked(client().admin().indices().prepareDelete(HistoryStore.INDEX_PREFIX + "*"));