You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/02/28 15:10:00 UTC

[jira] [Work logged] (LOG4J2-2794) YamlLayoutTest.testAdditionalFields test is sensitive to environment changes

     [ https://issues.apache.org/jira/browse/LOG4J2-2794?focusedWorklogId=394927&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-394927 ]

ASF GitHub Bot logged work on LOG4J2-2794:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Feb/20 15:09
            Start Date: 28/Feb/20 15:09
    Worklog Time Spent: 10m 
      Work Description: wlfshmn commented on pull request #346: LOG4J2-2794 - Make unit test more resilient to environment differences.
URL: https://github.com/apache/logging-log4j2/pull/346
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 394927)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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: 10m
>  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)