File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/test/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ public void testRuntimeSectionNonRuntimeType() throws IOException {
314314 XContentBuilder mapping = runtimeFieldMapping (builder -> builder .field ("type" , "unknown" ));
315315 MapperParsingException e = expectThrows (MapperParsingException .class , () -> createMapperService (mapping ));
316316 assertEquals (
317- "Failed to parse mapping: The mapper type [unknown] declared on field [field] does not exist."
317+ "Failed to parse mapping: The mapper type [unknown] declared on runtime field [field] does not exist."
318318 + " It might have been created within a future version or requires a plugin to be installed. Check the documentation." ,
319319 e .getMessage ()
320320 );
@@ -324,7 +324,7 @@ public void testRuntimeSectionHandlerNotFound() throws IOException {
324324 XContentBuilder mapping = runtimeFieldMapping (builder -> builder .field ("type" , "unknown" ));
325325 MapperParsingException e = expectThrows (MapperParsingException .class , () -> createMapperService (mapping ));
326326 assertEquals (
327- "Failed to parse mapping: The mapper type [unknown] declared on field [field] does not exist."
327+ "Failed to parse mapping: The mapper type [unknown] declared on runtime field [field] does not exist."
328328 + " It might have been created within a future version or requires a plugin to be installed. Check the documentation." ,
329329 e .getMessage ()
330330 );
You can’t perform that action at this time.
0 commit comments