Skip to content

Commit c5e6749

Browse files
committed
[TEST] removed leftover ElasticsearchIntegrationTest#randomIndexTemplate
used cluster().randomIndexTemplate instead
1 parent 89dd722 commit c5e6749

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public final void before() throws IOException {
199199
}
200200
currentCluster.beforeTest(getRandom(), getPerTestTransportClientRatio());
201201
cluster().wipe();
202-
randomIndexTemplate();
202+
cluster().randomIndexTemplate();
203203
logger.info("[{}#{}]: before test", getTestClass().getSimpleName(), getTestName());
204204
} catch (OutOfMemoryError e) {
205205
if (e.getMessage().contains("unable to create new native thread")) {
@@ -278,14 +278,6 @@ public static Client client() {
278278
return client;
279279
}
280280

281-
/**
282-
* Creates a randomized index template. This template is used to pass in randomized settings on a
283-
* per index basis.
284-
*/
285-
private static void randomIndexTemplate() {
286-
cluster().randomIndexTemplate();
287-
}
288-
289281
public static Iterable<Client> clients() {
290282
return cluster();
291283
}

0 commit comments

Comments
 (0)