From 94301eafd6eecac6fb7aa1f09d6eb56671a5b4d0 Mon Sep 17 00:00:00 2001 From: Nicholas Knize Date: Tue, 9 Feb 2021 05:03:55 +0000 Subject: [PATCH] [MUTE] AwaitsFix failing tests This commit mutes failing tests in: * IndicesClientIT * SearchIT (Freeze/UnFreeze) * IndicesClientDocumentationIT Fixes are identified and will be merged in a followup PR. --- .../src/test/java/org/elasticsearch/client/IndicesClientIT.java | 1 + .../src/test/java/org/elasticsearch/client/SearchIT.java | 1 + .../client/documentation/IndicesClientDocumentationIT.java | 2 ++ 3 files changed, 4 insertions(+) diff --git a/client/rest-high-level/src/test/java/org/elasticsearch/client/IndicesClientIT.java b/client/rest-high-level/src/test/java/org/elasticsearch/client/IndicesClientIT.java index 7db2704728cc7..4481ebb352637 100644 --- a/client/rest-high-level/src/test/java/org/elasticsearch/client/IndicesClientIT.java +++ b/client/rest-high-level/src/test/java/org/elasticsearch/client/IndicesClientIT.java @@ -1979,6 +1979,7 @@ public void testAnalyze() throws Exception { assertNotNull(detailsResponse.detail()); } + @AwaitsFix(bugUrl = "https://github.com/opendistro-for-elasticsearch/search/issues/57") public void testFreezeAndUnfreeze() throws IOException { createIndex("test", Settings.EMPTY); RestHighLevelClient client = highLevelClient(); diff --git a/client/rest-high-level/src/test/java/org/elasticsearch/client/SearchIT.java b/client/rest-high-level/src/test/java/org/elasticsearch/client/SearchIT.java index ccbde16c90a85..c53b4cc6f08e1 100644 --- a/client/rest-high-level/src/test/java/org/elasticsearch/client/SearchIT.java +++ b/client/rest-high-level/src/test/java/org/elasticsearch/client/SearchIT.java @@ -1380,6 +1380,7 @@ public void testCountAllIndicesMatchQuery() throws IOException { assertEquals(3, countResponse.getCount()); } + @AwaitsFix(bugUrl = "https://github.com/opendistro-for-elasticsearch/search/issues/61") public void testSearchWithBasicLicensedQuery() throws IOException { SearchRequest searchRequest = new SearchRequest("index"); SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder(); diff --git a/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/IndicesClientDocumentationIT.java b/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/IndicesClientDocumentationIT.java index de150b7272120..27468925798b6 100644 --- a/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/IndicesClientDocumentationIT.java +++ b/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/IndicesClientDocumentationIT.java @@ -2952,6 +2952,7 @@ public void onFailure(Exception e) { } + @AwaitsFix(bugUrl = "https://github.com/opendistro-for-elasticsearch/search/issues/57") public void testFreezeIndex() throws Exception { RestHighLevelClient client = highLevelClient(); @@ -3030,6 +3031,7 @@ public void onFailure(Exception e) { } } + @AwaitsFix(bugUrl = "https://github.com/opendistro-for-elasticsearch/search/issues/57") public void testUnfreezeIndex() throws Exception { RestHighLevelClient client = highLevelClient();