You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Johan (Jira)" <ji...@apache.org> on 2020/02/28 14:42:00 UTC
[jira] [Created] (LOG4J2-2794) YamlLayoutTest.testAdditionalFields
test is sensitive to environment changes
Johan created LOG4J2-2794:
-----------------------------
Summary: 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
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)