Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1275

RollingAppenderNoUnconditionalDeleteTest leaves the rollingtest.log which cause the test to fail when rerunning the test

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.6
    • 2.6
    • Core
    • None

    Description

      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.

      Attachments

        1. patch-log4j2-1275.diff
          2 kB
          Ludovic HOCHET

        Activity

          People

            mattsicker Matt Sicker
            lhochet Ludovic HOCHET
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: