Skip to content

Commit 21b97c2

Browse files
authored
Fix mistake in NativeArrayIntegrationTestCase, (#123459)
that affect release builds.
1 parent ec4022a commit 21b97c2

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

muted-tests.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -337,15 +337,6 @@ tests:
337337
- class: org.elasticsearch.action.admin.indices.diskusage.IndexDiskUsageAnalyzerTests
338338
method: testCompletionField
339339
issue: https://github.com/elastic/elasticsearch/issues/123269
340-
- class: org.elasticsearch.index.mapper.IPSyntheticSourceNativeArrayIntegrationTests
341-
method: testSynthesizeArray
342-
issue: https://github.com/elastic/elasticsearch/issues/123417
343-
- class: org.elasticsearch.index.mapper.IPSyntheticSourceNativeArrayIntegrationTests
344-
method: testSynthesizeArrayRandom
345-
issue: https://github.com/elastic/elasticsearch/issues/123418
346-
- class: org.elasticsearch.index.mapper.IPSyntheticSourceNativeArrayIntegrationTests
347-
method: testSynthesizeArrayIgnoreMalformed
348-
issue: https://github.com/elastic/elasticsearch/issues/123419
349340
- class: org.elasticsearch.packaging.test.DockerTests
350341
method: test151MachineDependentHeapWithSizeOverride
351342
issue: https://github.com/elastic/elasticsearch/issues/123437

server/src/test/java/org/elasticsearch/index/mapper/NativeArrayIntegrationTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ protected void verifySyntheticArray(Object[][] arrays, XContentBuilder mapping,
141141
} else {
142142
var copyExpectedStoredFields = new String[expectedStoredFields.length + 1];
143143
System.arraycopy(expectedStoredFields, 0, copyExpectedStoredFields, 0, expectedStoredFields.length);
144-
copyExpectedStoredFields[copyExpectedStoredFields.length - 1] = "_ignored_source";
144+
copyExpectedStoredFields[copyExpectedStoredFields.length - 1] = "_recovery_source";
145145
assertThat(storedFieldNames, containsInAnyOrder(copyExpectedStoredFields));
146146
}
147147
}

0 commit comments

Comments
 (0)