You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build logback-classic versions 1.5.12 from source, but some unit tests are failing. For example:
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.527 s <<< FAILURE! - in ch.qos.logback.classic.issue.logback1159.LogbackListenerTest
[ERROR] ch.qos.logback.classic.issue.logback1159.LogbackListenerTest.testThatErrorIsDetectedAtLogInit Time elapsed: 0.447 s <<< FAILURE!
[ERROR] ch.qos.logback.classic.issue.logback1159.LogbackListenerTest.assertThatNonFailSafeAppendersNotAffected Time elapsed: 0.019 s
[ERROR] LogbackListenerTest.testThatErrorIsDetectedAtLogInit:55 Expected ch.qos.logback.classic.issue.logback1159.LoggingError to be thrown, but nothing was thrown.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on project logback-classic:
I've tested a number of Java versions, going back to version 21, as well as various Maven versions, but the problem still occurs. I can create other modules, like logback-core, and run its unit tests without any problems with my current configuration, so it appears that this problem is exclusive to logback-classic.
I tried building logback-classic without running the tests, and it was successful, but I need to run the tests.
Would you kindly offer any recommendations or guidance on how to handle this?
Thank you.
The text was updated successfully, but these errors were encountered:
The error you describe is quite surprising. Have you tried building other version of logback, for example 1.5.16 or 1.5.17-SNAPSHOT?
Anyway, I suspect that the issue stems from other tests interfering with LogbackListenerTest. Which versions of Maven have you tried? What OS is this? What is the type of CPU? Number of cores?
Hello,
I am trying to build logback-classic versions 1.5.12 from source, but some unit tests are failing. For example:
I've tested a number of Java versions, going back to version 21, as well as various Maven versions, but the problem still occurs. I can create other modules, like logback-core, and run its unit tests without any problems with my current configuration, so it appears that this problem is exclusive to logback-classic.
I tried building logback-classic without running the tests, and it was successful, but I need to run the tests.
Would you kindly offer any recommendations or guidance on how to handle this?
Thank you.
The text was updated successfully, but these errors were encountered: