Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RollingAppenderDeleteAccumulatedCount1Test is unreliable #3003

Open
garydgregory opened this issue Sep 23, 2024 · 0 comments
Open

RollingAppenderDeleteAccumulatedCount1Test is unreliable #3003

garydgregory opened this issue Sep 23, 2024 · 0 comments
Labels
tests Pull requests or issues related to tests

Comments

@garydgregory
Copy link
Member

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 01125b1

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
@vy vy added the tests Pull requests or issues related to tests label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Pull requests or issues related to tests
Projects
None yet
Development

No branches or pull requests

2 participants