[logback-dev] Building trunk fails tests

Ceki Gulcu listid at qos.ch
Fri Oct 31 11:10:00 CET 2008


In revision 1925, I modified several test to use random ports for tests to 
reduce the probability in LINGERING ports between successive runs

This should prevent SyslogAppenderTest from failing.




Ceki Gulcu wrote:
> Hi Thorbjørn,
> 
> The SyslogAppenderTest uses a fixed port. Probably the second time you ran the 
> test the port was in the "LINGERING" state from the previous run. I'll modify 
> the test to use a random port so that the problem does not reoccur.
> 
> Thanks for the info,
> 
> Thorbjørn Ravn Andersen wrote:
>> I just pulled out logback trunk, and ran
>>
>> "mvn install"
>>
>> This gave two failures and aborted the build
>>
>> "Results :
>>
>> Failed tests:
>>   basic(ch.qos.logback.classic.net.SyslogAppenderTest)
>>   tException(ch.qos.logback.classic.net.SyslogAppenderTest)
>>
>> Tests run: 207, Failures: 2, Errors: 0, Skipped: 8
>> "
>>
>> This is OS X 10.5.5 with 64-bit 1.6 JVM.
>>
>> /Thorbjørn
> 

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the logback-dev mailing list