Procházet zdrojové kódy

fix typo in assume() when running from IDE

Robert Muir před 10 roky
rodič
revize
a0a177222b

+ 1 - 1
plugins/site-example/src/test/java/org/elasticsearch/example/SiteContentsIT.java

@@ -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()) {