From 4f5f3fe895682358a3ee1175792b5c6cd2d7c4b9 Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Tue, 29 Mar 2016 15:25:21 -0400 Subject: [PATCH] Increase the total number of allowed fields in UpdateMappingIntegrationIT#testDynamicUpdates With restriction for the total number of fields introduced in #17357 this test can fail if a large number of records is randomly selected for indexing. --- .../indices/mapping/UpdateMappingIntegrationIT.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/test/java/org/elasticsearch/indices/mapping/UpdateMappingIntegrationIT.java b/core/src/test/java/org/elasticsearch/indices/mapping/UpdateMappingIntegrationIT.java index 8e064f46e12..125c4ab4059 100644 --- a/core/src/test/java/org/elasticsearch/indices/mapping/UpdateMappingIntegrationIT.java +++ b/core/src/test/java/org/elasticsearch/indices/mapping/UpdateMappingIntegrationIT.java @@ -66,6 +66,7 @@ public class UpdateMappingIntegrationIT extends ESIntegTestCase { settingsBuilder() .put("index.number_of_shards", 1) .put("index.number_of_replicas", 0) + .put(MapperService.INDEX_MAPPING_TOTAL_FIELDS_LIMIT_SETTING.getKey(), Long.MAX_VALUE) ).execute().actionGet(); client().admin().cluster().prepareHealth().setWaitForEvents(Priority.LANGUID).setWaitForGreenStatus().execute().actionGet();