Skip to content

Commit 4f5f3fe

Browse files
committed
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.
1 parent f07b35b commit 4f5f3fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/test/java/org/elasticsearch/indices/mapping/UpdateMappingIntegrationIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public void testDynamicUpdates() throws Exception {
6666
settingsBuilder()
6767
.put("index.number_of_shards", 1)
6868
.put("index.number_of_replicas", 0)
69+
.put(MapperService.INDEX_MAPPING_TOTAL_FIELDS_LIMIT_SETTING.getKey(), Long.MAX_VALUE)
6970
).execute().actionGet();
7071
client().admin().cluster().prepareHealth().setWaitForEvents(Priority.LANGUID).setWaitForGreenStatus().execute().actionGet();
7172

0 commit comments

Comments
 (0)