Skip to content

Commit 53b169a

Browse files
committed
Fix ParentFieldMapperTests failure.
1 parent 8476bb8 commit 53b169a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/java/org/elasticsearch/index/mapper/ParentFieldMapperTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void testUpdateEagerGlobalOrds() throws IOException {
180180
String childMapping = XContentFactory.jsonBuilder().startObject().startObject("child_type")
181181
.startObject("_parent").field("type", "parent_type").endObject()
182182
.endObject().endObject().string();
183-
IndexService indexService = createIndex("test", Settings.builder().put("index.version.created", Version.V_5_6_0).build());
183+
IndexService indexService = createIndex("test");
184184
indexService.mapperService().merge("parent_type", new CompressedXContent(parentMapping), MergeReason.MAPPING_UPDATE, false);
185185
indexService.mapperService().merge("child_type", new CompressedXContent(childMapping), MergeReason.MAPPING_UPDATE, false);
186186

0 commit comments

Comments
 (0)