diff --git a/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookIntegrationTests.java index 02ce97d4ea218..cb8378212434c 100644 --- a/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookIntegrationTests.java +++ b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookIntegrationTests.java @@ -109,6 +109,7 @@ public void testWebhook() throws Exception { assertThat(status.intValue(), is(200)); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35503") public void testWebhookWithBasicAuth() throws Exception { webServer.enqueue(new MockResponse().setResponseCode(200).setBody("body")); HttpRequestTemplate.Builder builder = HttpRequestTemplate.builder("localhost", webServer.getPort()) diff --git a/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BasicWatcherTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BasicWatcherTests.java index 2f2299d7d65e0..4da911efcd03c 100644 --- a/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BasicWatcherTests.java +++ b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BasicWatcherTests.java @@ -88,6 +88,7 @@ public void testIndexWatch() throws Exception { assertThat(getWatchResponse.getSource(), notNullValue()); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35503") public void testIndexWatchRegisterWatchBeforeTargetIndex() throws Exception { WatcherClient watcherClient = watcherClient(); WatcherSearchTemplateRequest searchRequest = templateRequest(searchSource().query(termQuery("field", "value")), "idx"); @@ -211,11 +212,13 @@ public void testModifyWatches() throws Exception { assertThat(count, equalTo(findNumberOfPerformedActions("_name"))); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35503") public void testConditionSearchWithSource() throws Exception { SearchSourceBuilder searchSourceBuilder = searchSource().query(matchQuery("level", "a")); testConditionSearch(templateRequest(searchSourceBuilder, "events")); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35503") public void testConditionSearchWithIndexedTemplate() throws Exception { SearchSourceBuilder searchSourceBuilder = searchSource().query(matchQuery("level", "a")); assertAcked(client().admin().cluster().preparePutStoredScript()