[logback-dev] test failures

ceki ceki at qos.ch
Sun Nov 6 18:16:53 CET 2011


Thanks Ralph. I'll look into it shortly.

On 11/6/2011 4:08 AM, Ralph Goers wrote:
> I just did a git pull from github and on my MacBook I got
>
> target/test-output/1352452803/failed_rename.log  src/test/witness/rolling/tbr-failed_renameFiles [target/test-output/1352452803/failed_rename.log] and [src/test/witness/rolling/tbr-failed_rename] differ on line 1
> One reads:  [Hello---2].
> Other reads:[Hello---0].
> --------------------------------
> Contents of target/test-output/1352452803/failed_rename.log:
> 1   : Hello---2
> --------------------------------
> Contents of src/test/witness/rolling/tbr-failed_rename:
> 1   : Hello---0
> 2   : Hello---1
> 3   : Hello---2
> 20:05:02,312 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
> 20:05:02,312 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern target/test-output/1352452803/failed_rename-%d{yyyy-MM-dd_HH_mm_ss} for the active file
> 20:05:02,312 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd_HH_mm_ss' from file name pattern 'target/test-output/1352452803/failed_rename-%d{yyyy-MM-dd_HH_mm_ss}'.
> 20:05:02,312 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over every second.
> 20:05:02,312 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Sat Nov 05 20:05:02 PDT 2011
> 20:05:02,312 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[null] - Active log file name: target/test-output/1352452803/failed_rename.log
> 20:05:02,312 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[null] - File property is set to [target/test-output/1352452803/failed_rename.log]
> 20:05:02,312 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Elapsed period: Sat Nov 05 20:05:02 PDT 2011
> 20:05:02,312 |-INFO in c.q.l.co.rolling.helper.RenameUtil - Renaming file [target/test-output/1352452803/failed_rename.log] to [target/test-output/1352452803/failed_rename-2011-11-05_20_05_02]
> 20:05:02,313 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Elapsed period: Sat Nov 05 20:05:03 PDT 2011
> 20:05:02,313 |-INFO in c.q.l.co.rolling.helper.RenameUtil - Renaming file [target/test-output/1352452803/failed_rename.log] to [target/test-output/1352452803/failed_rename-2011-11-05_20_05_03]
>
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: -1,993,739.736 sec<<<  FAILURE!
>
> Results :
>
> Failed tests:   montlyRollover(ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemoval_STest): expected:<3>  but was:<4>
>    failed_rename(ch.qos.logback.core.rolling.TimeBasedRolling_STest)
>
> Tests run: 317, Failures: 2, Errors: 0, Skipped: 3


-- 
Ceki
http://twitter.com/#!/ceki


More information about the logback-dev mailing list