[TEST] removed leftover ElasticsearchIntegrationTest#randomIndexTemplate

used cluster().randomIndexTemplate instead
This commit is contained in:
javanna 2014-03-26 22:59:06 +01:00 committed by Luca Cavanna
parent 89dd722340
commit c5e6749e12
1 changed files with 1 additions and 9 deletions

View File

@ -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<Client> clients() {
return cluster();
}