qos-ch / logback

The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
Other
2.98k stars 1.28k forks source link

fix unit test failed #770

Open xuwenping123 opened 7 months ago

xuwenping123 commented 7 months ago

Hi, I encountered some problems when building the project.

My current build environment is as follows:

java version:11
ZoneId:Asia/Shanghai
Locale:zh_CN

Execute build command:

mvn clean test

Error message:

// case 1: TimeBasedRollingWithArchiveRemoval_Test.dailySizeBasedRolloverWithSizeCap
[ERROR] Failures: 
[ERROR]   TimeBasedRollingWithArchiveRemoval_Test.dailySizeBasedRolloverWithSizeCap:306->checkFileCount:516 expected: <9> but was: <11>

// case 2: .ConverterTest#testDateConverter_AU_locale
org.opentest4j.AssertionFailedError: 
Expected :21/Oct/2022:21:30:20 +1100
Actual   :21/10月/2022:21:30:20 +1100
xuwenping123 commented 7 months ago

@ceki Sorry, I didn’t sign off the commit I just made. It’s fine now.

What else do I need to do next? Thanks