delete indices before running the tests

This commit is contained in:
Shay Banon 2013-02-12 19:28:48 +01:00
parent 668bcd0eb7
commit 7d13545e33
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ public class SimpleIndexStatsTests extends AbstractNodesTests {
@Test @Test
public void simpleStats() throws Exception { public void simpleStats() throws Exception {
client.admin().indices().prepareDelete().execute().actionGet();
// rely on 1 replica for this tests // rely on 1 replica for this tests
client.admin().indices().prepareCreate("test1").execute().actionGet(); client.admin().indices().prepareCreate("test1").execute().actionGet();
client.admin().indices().prepareCreate("test2").execute().actionGet(); client.admin().indices().prepareCreate("test2").execute().actionGet();