浏览代码

CRUD: Disable wait for refresh tests with delete

They look to be broken, sadly.

Tracked by #33533
Nik Everett 7 年之前
父节点
当前提交
609a167c45

+ 2 - 0
distribution/archives/integ-test-zip/src/test/java/org/elasticsearch/test/rest/WaitForRefreshAndCloseIT.java

@@ -20,6 +20,7 @@
 package org.elasticsearch.test.rest;
 package org.elasticsearch.test.rest;
 
 
 import org.apache.http.util.EntityUtils;
 import org.apache.http.util.EntityUtils;
+import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
 import org.elasticsearch.action.ActionFuture;
 import org.elasticsearch.action.ActionFuture;
 import org.elasticsearch.action.support.PlainActionFuture;
 import org.elasticsearch.action.support.PlainActionFuture;
 import org.elasticsearch.client.Response;
 import org.elasticsearch.client.Response;
@@ -75,6 +76,7 @@ public class WaitForRefreshAndCloseIT extends ESRestTestCase {
         closeWhileListenerEngaged(start("POST", "/_update", "{\"doc\":{\"name\":\"test\"}}"));
         closeWhileListenerEngaged(start("POST", "/_update", "{\"doc\":{\"name\":\"test\"}}"));
     }
     }
 
 
+    @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/33533")
     public void testDeleteAndThenClose() throws Exception {
     public void testDeleteAndThenClose() throws Exception {
         Request request = new Request("PUT", docPath());
         Request request = new Request("PUT", docPath());
         request.setJsonEntity("{\"test\":\"test\"}");
         request.setJsonEntity("{\"test\":\"test\"}");