diff --git a/src/test/java/org/elasticsearch/aliases/IndexAliasesTests.java b/src/test/java/org/elasticsearch/aliases/IndexAliasesTests.java index 9939892aeae..2a3da08d47f 100644 --- a/src/test/java/org/elasticsearch/aliases/IndexAliasesTests.java +++ b/src/test/java/org/elasticsearch/aliases/IndexAliasesTests.java @@ -153,7 +153,7 @@ public class IndexAliasesTests extends ElasticsearchIntegrationTest { @Test public void testSearchingFilteringAliasesSingleIndex() throws Exception { logger.info("--> creating index [test]"); - createIndex("test"); + assertAcked(prepareCreate("test").addMapping("type1", "id", "type=string", "name", "type=string")); ensureGreen();