[
https://issues.apache.org/jira/browse/LOG4J2-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17081608#comment-17081608
]
ASF subversion and git services commented on LOG4J2-2794:
---------------------------------------------------------
Commit 4ea5246dfc513da3be8ae709b057c111c9f7df56 in logging-log4j2's branch
refs/heads/release-2.x from Johan Karlberg
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=4ea5246 ]
LOG4J2-2794 - Make unit test more resilient to environment differences.
> YamlLayoutTest.testAdditionalFields test is sensitive to environment changes
> ----------------------------------------------------------------------------
>
> Key: LOG4J2-2794
> URL: https://issues.apache.org/jira/browse/LOG4J2-2794
> Project: Log4j 2
> Issue Type: Bug
> Reporter: Johan
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The test in question checks a string serialization of an yaml-serialized
> event using a contains operation, but since the checked string is dependent
> on the environment and the yaml serialization may opt to break long lines
> into multiple lines, causing the test to fail in some environments but work
> in other. It is currently failing in travis on the release-2.x branch.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)