From c5e6749e124bf6bf6e59444cbdbcf0c39b966cd4 Mon Sep 17 00:00:00 2001 From: javanna Date: Wed, 26 Mar 2014 22:59:06 +0100 Subject: [PATCH] [TEST] removed leftover ElasticsearchIntegrationTest#randomIndexTemplate used cluster().randomIndexTemplate instead --- .../test/ElasticsearchIntegrationTest.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java b/src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java index 23d177cfbd3..c75b5b706fe 100644 --- a/src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java +++ b/src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java @@ -199,7 +199,7 @@ public abstract class ElasticsearchIntegrationTest extends ElasticsearchTestCase } currentCluster.beforeTest(getRandom(), getPerTestTransportClientRatio()); cluster().wipe(); - randomIndexTemplate(); + cluster().randomIndexTemplate(); logger.info("[{}#{}]: before test", getTestClass().getSimpleName(), getTestName()); } catch (OutOfMemoryError e) { if (e.getMessage().contains("unable to create new native thread")) { @@ -278,14 +278,6 @@ public abstract class ElasticsearchIntegrationTest extends ElasticsearchTestCase return client; } - /** - * Creates a randomized index template. This template is used to pass in randomized settings on a - * per index basis. - */ - private static void randomIndexTemplate() { - cluster().randomIndexTemplate(); - } - public static Iterable clients() { return cluster(); }