diff --git a/core/src/test/java/org/elasticsearch/gateway/GatewayIndexStateIT.java b/core/src/test/java/org/elasticsearch/gateway/GatewayIndexStateIT.java index d5dee3c1bdc..04810e6ebfd 100644 --- a/core/src/test/java/org/elasticsearch/gateway/GatewayIndexStateIT.java +++ b/core/src/test/java/org/elasticsearch/gateway/GatewayIndexStateIT.java @@ -446,13 +446,6 @@ public class GatewayIndexStateIT extends ESIntegTestCase { assertNotNull(ex.getCause()); assertEquals(IllegalArgumentException.class, ex.getCause().getClass()); assertEquals(ex.getCause().getMessage(), "Unknown tokenfilter type [icu_collation] for [myCollator]"); - - client().admin().indices().prepareUpdateSettings() - .setSettings(Settings.builder().putNull("index.analysis.filter.myCollator.type")).get(); - client().admin().indices().prepareOpen("test").get(); - ensureYellow(); - logger.info("--> verify 1 doc in the index"); - assertHitCount(client().prepareSearch().setQuery(matchAllQuery()).get(), 1L); } /** @@ -510,13 +503,6 @@ public class GatewayIndexStateIT extends ESIntegTestCase { assertNotNull(ex.getCause()); assertEquals(MapperParsingException.class, ex.getCause().getClass()); assertEquals(ex.getCause().getMessage(), "analyzer [test] not found for field [field1]"); - - client().admin().indices().prepareUpdateSettings() - .setSettings(Settings.builder().put("index.analysis.analyzer.test.tokenizer", "keyword")).get(); - client().admin().indices().prepareOpen("test").get(); - ensureYellow(); - logger.info("--> verify 1 doc in the index"); - assertHitCount(client().prepareSearch().setQuery(matchQuery("field1", "value one")).get(), 1L); } public void testArchiveBrokenClusterSettings() throws Exception {