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 @@ -161,10 +161,10 @@ public void testParseMeta() {
161161 }
162162
163163 {
164- String longString = IntStream .range (0 , 51 ).mapToObj (Integer ::toString ).collect (Collectors .joining ());
164+ String longString = IntStream .range (0 , 501 ).mapToObj (Integer ::toString ).collect (Collectors .joining ());
165165 Map <String , Object > mapping = Map .of ("foo" , longString );
166166 MapperParsingException e = expectThrows (MapperParsingException .class , () -> TypeParsers .parseMeta ("foo" , mapping ));
167- assertThat (e .getMessage (), Matchers .startsWith ("[meta] values can't be longer than 50 chars" ));
167+ assertThat (e .getMessage (), Matchers .startsWith ("[meta] values can't be longer than 500 chars" ));
168168 }
169169 }
170170}
You can’t perform that action at this time.
0 commit comments