Skip to content

Commit bcfb9db

Browse files
committed
Muting watcher tests for issue elastic#35503
1 parent 12943c5 commit bcfb9db

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookIntegrationTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public void testWebhook() throws Exception {
109109
assertThat(status.intValue(), is(200));
110110
}
111111

112+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35503")
112113
public void testWebhookWithBasicAuth() throws Exception {
113114
webServer.enqueue(new MockResponse().setResponseCode(200).setBody("body"));
114115
HttpRequestTemplate.Builder builder = HttpRequestTemplate.builder("localhost", webServer.getPort())

x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BasicWatcherTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public void testIndexWatch() throws Exception {
8888
assertThat(getWatchResponse.getSource(), notNullValue());
8989
}
9090

91+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35503")
9192
public void testIndexWatchRegisterWatchBeforeTargetIndex() throws Exception {
9293
WatcherClient watcherClient = watcherClient();
9394
WatcherSearchTemplateRequest searchRequest = templateRequest(searchSource().query(termQuery("field", "value")), "idx");
@@ -211,11 +212,13 @@ public void testModifyWatches() throws Exception {
211212
assertThat(count, equalTo(findNumberOfPerformedActions("_name")));
212213
}
213214

215+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35503")
214216
public void testConditionSearchWithSource() throws Exception {
215217
SearchSourceBuilder searchSourceBuilder = searchSource().query(matchQuery("level", "a"));
216218
testConditionSearch(templateRequest(searchSourceBuilder, "events"));
217219
}
218220

221+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35503")
219222
public void testConditionSearchWithIndexedTemplate() throws Exception {
220223
SearchSourceBuilder searchSourceBuilder = searchSource().query(matchQuery("level", "a"));
221224
assertAcked(client().admin().cluster().preparePutStoredScript()

0 commit comments

Comments
 (0)