浏览代码

Mute test for #35295

Alpar Torok 7 年之前
父节点
当前提交
ca12de5841

+ 3 - 1
client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/RollupDocumentationIT.java

@@ -75,11 +75,13 @@ import java.util.Map;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeUnit;
 
 
+import static org.apache.lucene.util.LuceneTestCase.AwaitsFix;
 import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
 import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
 import static org.hamcrest.Matchers.equalTo;
 import static org.hamcrest.Matchers.equalTo;
 import static org.hamcrest.Matchers.hasSize;
 import static org.hamcrest.Matchers.hasSize;
 import static org.hamcrest.Matchers.isOneOf;
 import static org.hamcrest.Matchers.isOneOf;
 
 
+@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35295")
 public class RollupDocumentationIT extends ESRestHighLevelClientTestCase {
 public class RollupDocumentationIT extends ESRestHighLevelClientTestCase {
 
 
     @Before
     @Before
@@ -512,4 +514,4 @@ public class RollupDocumentationIT extends ESRestHighLevelClientTestCase {
 
 
         assertTrue(latch.await(30L, TimeUnit.SECONDS));
         assertTrue(latch.await(30L, TimeUnit.SECONDS));
     }
     }
-}
+}