logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sicker (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LOG4J2-1275) RollingAppenderNoUnconditionalDeleteTest leaves the rollingtest.log which cause the test to fail when rerunning the test
Date Thu, 03 Mar 2016 02:16:18 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt Sicker resolved LOG4J2-1275.
---------------------------------
       Resolution: Fixed
         Assignee: Matt Sicker
    Fix Version/s: 2.6

Thanks for the patch, I can confirm that it also works for me as well on repeat test runs.
I've pushed it to master. Please verify and close.

> RollingAppenderNoUnconditionalDeleteTest leaves the rollingtest.log which cause the test
to fail when rerunning the test
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-1275
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1275
>             Project: Log4j 2
>          Issue Type: Test
>          Components: Core
>    Affects Versions: 2.6
>            Reporter: Ludovic HOCHET
>            Assignee: Matt Sicker
>            Priority: Trivial
>             Fix For: 2.6
>
>         Attachments: patch-log4j2-1275.diff
>
>
> When running mvn install on core after a mvn clean install, the following tests fail:
>   RollingAppenderNoUnconditionalDeleteTest.testAppender:95 rolled over lines expected:<17>
but was:<18>
>   RollingAppenderNoUnconditionalDeleteTest.testAppender:95 rolled over lines expected:<17>
but was:<18>
>   RollingAppenderNoUnconditionalDeleteTest.testAppender:95 rolled over lines expected:<17>
but was:<18>
> This seems to result from the rollingtest.log file being still present.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message