You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "garydgregory (via GitHub)" <gi...@apache.org> on 2024/09/23 13:54:06 UTC

[I] RollingAppenderDeleteAccumulatedCount1Test is unreliable (logging-log4j2)

garydgregory opened a new issue, #3003:
URL: https://github.com/apache/logging-log4j2/issues/3003

   ## Description
   
   RollingAppenderDeleteAccumulatedCount1Test is unreliable
   
   ```
   RollingAppenderDeleteAccumulatedCount1Test.testAppender:84 [target\rolling-with-delete-accum-count1\test\my-1.log, target\rolling-with-delete-accum-count1\test\my-2.log, target\rolling-with-delete-accum-count1\test\my-3.log, target\rolling-with-delete-accum-count1\test\my-4.log, target\rolling-with-delete-accum-count1\test\my-5.log, target\rolling-with-delete-accum-count1\test\test-3.log, target\rolling-with-delete-accum-count1\test\test-4.log, target\rolling-with-delete-accum-count1\test\test-5.log, target\rolling-with-delete-accum-count1\test\test-6.log, target\rolling-with-delete-accum-count1\test\test-7.log, target\rolling-with-delete-accum-count1\test\test-8.log, target\rolling-with-delete-accum-count1\test\test-9.log] expected:<11> but was:<12>
   ```
   
   ## Configuration
   
   **Version:** 2.x at 01125b11a7c52af12204a1c4a646158f63b2d6eb
   
   **Operating system:** 
   Microsoft Windows [Version 10.0.19045.4780
   
   **JDK:** 
   Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
   Maven home: C:\java\apache-maven-3.9.9
   Java version: 17.0.12, vendor: Eclipse Adoptium, runtime: C:\Program Files\Eclipse Adoptium\jdk-17.0.12.7-hotspot
   Default locale: en_US, platform encoding: UTF-8
   OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
   ## Logs
   
   ```
   [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.260 s <<< FAILURE! -- in org.apache.logging.log4j.core.appender.rolling.RollingAppenderDeleteAccumulatedCount1Test
   [ERROR] org.apache.logging.log4j.core.appender.rolling.RollingAppenderDeleteAccumulatedCount1Test.testAppender -- Time elapsed: 3.223 s <<< FAILURE!
   java.lang.AssertionError: [target\rolling-with-delete-accum-count1\test\my-1.log, target\rolling-with-delete-accum-count1\test\my-2.log, target\rolling-with-delete-accum-count1\test\my-3.log, target\rolling-with-delete-accum-count1\test\my-4.log, target\rolling-with-delete-accum-count1\test\my-5.log, target\rolling-with-delete-accum-count1\test\test-3.log, target\rolling-with-delete-accum-count1\test\test-4.log, target\rolling-with-delete-accum-count1\test\test-5.log, target\rolling-with-delete-accum-count1\test\test-6.log, target\rolling-with-delete-accum-count1\test\test-7.log, target\rolling-with-delete-accum-count1\test\test-8.log, target\rolling-with-delete-accum-count1\test\test-9.log] expected:<11> but was:<12>
           at org.junit.Assert.fail(Assert.java:89)
           at org.junit.Assert.failNotEquals(Assert.java:835)
           at org.junit.Assert.assertEquals(Assert.java:647)
           at org.apache.logging.log4j.core.appender.rolling.RollingAppenderDeleteAccumulatedCount1Test.testAppender(RollingAppenderDeleteAccumulatedCount1Test.java:84)
           at java.base/java.lang.reflect.Method.invoke(Method.java:569)
           at org.apache.logging.log4j.core.test.junit.LoggerContextRule$1.evaluate(LoggerContextRule.java:136)
   
   ```
   
   ## Reproduction
   
   ```
   mvn clean install
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RollingAppenderDeleteAccumulatedCount1Test is unreliable [logging-log4j2]

Posted by "vy (via GitHub)" <gi...@apache.org>.
vy closed issue #3003: RollingAppenderDeleteAccumulatedCount1Test is unreliable
URL: https://github.com/apache/logging-log4j2/issues/3003


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org