Prechádzať zdrojové kódy

Mute RestClientMultipleHostsIntegTests.testCancelAsyncRequests (#48535)

Relates https://github.com/elastic/elasticsearch/issues/45577
Tanguy Leroux 6 rokov pred
rodič
commit
1744f1f2fc

+ 2 - 0
client/rest/src/test/java/org/elasticsearch/client/RestClientMultipleHostsIntegTests.java

@@ -27,6 +27,7 @@ import org.elasticsearch.mocksocket.MockHttpServer;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 
 import java.io.IOException;
 import java.net.ConnectException;
@@ -231,6 +232,7 @@ public class RestClientMultipleHostsIntegTests extends RestClientTestCase {
         }
     }
 
+    @Ignore("https://github.com/elastic/elasticsearch/issues/45577")
     public void testCancelAsyncRequests() throws Exception {
         int numRequests = randomIntBetween(5, 20);
         final List<Response> responses = new CopyOnWriteArrayList<>();