|
@@ -64,7 +64,6 @@ import org.elasticsearch.test.transport.StubbableConnectionManager;
|
|
|
import org.elasticsearch.test.transport.StubbableTransport;
|
|
|
import org.elasticsearch.threadpool.TestThreadPool;
|
|
|
import org.elasticsearch.threadpool.ThreadPool;
|
|
|
-import org.junit.Before;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
import java.net.InetAddress;
|
|
@@ -94,6 +93,7 @@ import static java.util.Collections.emptyMap;
|
|
|
import static java.util.Collections.emptySet;
|
|
|
import static org.hamcrest.Matchers.allOf;
|
|
|
import static org.hamcrest.Matchers.containsString;
|
|
|
+import static org.hamcrest.Matchers.endsWith;
|
|
|
import static org.hamcrest.Matchers.equalTo;
|
|
|
import static org.hamcrest.Matchers.instanceOf;
|
|
|
import static org.hamcrest.Matchers.iterableWithSize;
|
|
@@ -101,7 +101,6 @@ import static org.hamcrest.Matchers.not;
|
|
|
import static org.hamcrest.Matchers.notNullValue;
|
|
|
import static org.hamcrest.Matchers.sameInstance;
|
|
|
import static org.hamcrest.Matchers.startsWith;
|
|
|
-import static org.hamcrest.Matchers.endsWith;
|
|
|
|
|
|
public class RemoteClusterConnectionTests extends ESTestCase {
|
|
|
|
|
@@ -114,13 +113,6 @@ public class RemoteClusterConnectionTests extends ESTestCase {
|
|
|
ThreadPool.terminate(threadPool, 10, TimeUnit.SECONDS);
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- @Before
|
|
|
- public void setUp() throws Exception {
|
|
|
- super.setUp();
|
|
|
- assumeFalse("https://github.com/elastic/elasticsearch/issues/44339", System.getProperty("os.name").contains("Win"));
|
|
|
- }
|
|
|
-
|
|
|
private MockTransportService startTransport(String id, List<DiscoveryNode> knownNodes, Version version) {
|
|
|
return startTransport(id, knownNodes, version, threadPool);
|
|
|
}
|