Skip to content

Commit

Permalink
Muting watcher tests for issue elastic#35503
Browse files Browse the repository at this point in the history
  • Loading branch information
benwtrent committed Mar 27, 2019
1 parent 12943c5 commit bcfb9db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit bcfb9db

Please sign in to comment.