This commit is contained in:
Simon Willnauer 2016-01-18 13:03:19 +01:00
parent 04bbc5b83c
commit 5dc3e721e0
1 changed files with 1 additions and 3 deletions

View File

@ -332,9 +332,7 @@ public class SimpleIndexTemplateIT extends ESIntegTestCase {
}
response = client().admin().indices().prepareGetTemplates().get();
assertThat(response.getIndexTemplates(), hasSize(1));
assertThat(response.getIndexTemplates().get(0).getSettings().getAsMap().size(), equalTo(1));
assertNull(response.getIndexTemplates().get(0).getSettings().get("index.does_not_exist"));
assertEquals(0, response.getIndexTemplates().size());
createIndex("test");