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.
This commit is contained in:
Igor Motov 2016-03-29 15:25:21 -04:00
parent f07b35b328
commit 4f5f3fe895
1 changed files with 1 additions and 0 deletions

View File

@ -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();