mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 04:45:37 +00:00
fix typo in assume() when running from IDE
This commit is contained in:
parent
64850c0539
commit
a0a177222b
@ -40,7 +40,7 @@ public class SiteContentsIT extends ESIntegTestCase {
|
||||
// define a fake rest spec or anything?
|
||||
public void test() throws Exception {
|
||||
TestCluster cluster = cluster();
|
||||
assumeTrue("this test will not work from an IDE unless you pass test.cluster pointing to a running instance", cluster instanceof ExternalTestCluster);
|
||||
assumeTrue("this test will not work from an IDE unless you pass tests.cluster pointing to a running instance", cluster instanceof ExternalTestCluster);
|
||||
ExternalTestCluster externalCluster = (ExternalTestCluster) cluster;
|
||||
try (CloseableHttpClient httpClient = HttpClients.createMinimal(new PoolingHttpClientConnectionManager(15, TimeUnit.SECONDS))) {
|
||||
for (InetSocketAddress address : externalCluster.httpAddresses()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user