From ba9a4d13e185a2af2e109637e9cd3010b29f7046 Mon Sep 17 00:00:00 2001 From: Przemyslaw Gomulka Date: Mon, 11 Feb 2019 13:15:12 +0100 Subject: [PATCH] mute Failing tests related to logging and joda-java migration backport(#38704)(#38710) the tests awaits fix from #38693 and #38705 and #38581 --- .../common/logging/JsonThrowablePatternConverterTests.java | 1 + .../xpack/watcher/WatcherIndexingListenerTests.java | 1 + .../xpack/watcher/test/integration/HistoryIntegrationTests.java | 1 + 3 files changed, 3 insertions(+) diff --git a/server/src/test/java/org/elasticsearch/common/logging/JsonThrowablePatternConverterTests.java b/server/src/test/java/org/elasticsearch/common/logging/JsonThrowablePatternConverterTests.java index d72b598f028..7c39cbb911c 100644 --- a/server/src/test/java/org/elasticsearch/common/logging/JsonThrowablePatternConverterTests.java +++ b/server/src/test/java/org/elasticsearch/common/logging/JsonThrowablePatternConverterTests.java @@ -47,6 +47,7 @@ public class JsonThrowablePatternConverterTests extends ESTestCase { assertThat(jsonLogLine.stacktrace(), Matchers.nullValue()); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/38705") public void testStacktraceWithJson() throws IOException { LogManager.getLogger().info("asdf"); diff --git a/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherIndexingListenerTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherIndexingListenerTests.java index 5bc441bfa28..96471549e1e 100644 --- a/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherIndexingListenerTests.java +++ b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherIndexingListenerTests.java @@ -126,6 +126,7 @@ public class WatcherIndexingListenerTests extends ESTestCase { verifyZeroInteractions(parser); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/38581") public void testPreIndex() throws Exception { when(operation.type()).thenReturn(Watch.DOC_TYPE); when(operation.id()).thenReturn(randomAlphaOfLength(10)); diff --git a/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HistoryIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HistoryIntegrationTests.java index 947bf2e2100..35bd7077c3f 100644 --- a/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HistoryIntegrationTests.java +++ b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HistoryIntegrationTests.java @@ -152,6 +152,7 @@ public class HistoryIntegrationTests extends AbstractWatcherIntegrationTestCase } } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/38693") public void testThatHistoryContainsStatus() throws Exception { watcherClient().preparePutWatch("test_watch") .setSource(watchBuilder()