File tree 1 file changed +2
-2
lines changed
libs/x-content/src/test/java/org/opensearch/common/xcontent
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ public class XContentParserTests extends OpenSearchTestCase {
85
85
() -> randomAlphaOfLengthBetween (1 , SmileXContent .DEFAULT_MAX_STRING_LEN ),
86
86
/* YAML parser limitation */
87
87
XContentType .YAML ,
88
- /* use 75 % of the limit, difficult to get the exact size of the content right */
89
- () -> randomRealisticUnicodeOfCodepointLengthBetween (1 , (int ) (YamlXContent .DEFAULT_CODEPOINT_LIMIT * 0.75 ))
88
+ /* use 50 % of the limit, difficult to get the exact size of the content right */
89
+ () -> randomRealisticUnicodeOfCodepointLengthBetween (1 , (int ) (YamlXContent .DEFAULT_CODEPOINT_LIMIT * 0.50 ))
90
90
);
91
91
92
92
private static final Map <XContentType , Supplier <String >> OFF_LIMIT_GENERATORS = Map .of (
You can’t perform that action at this time.
0 commit comments