[logback-dev] svn commit: r1855 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic

Ceki Gulcu listid at qos.ch
Wed Oct 22 00:21:52 CEST 2008



Ralph Goers wrote:
> I'm having trouble getting the new version of LoggerPerfTest to pass.  
> I've attached the output of the test.
> 
> Ralph

 > 
testDurationOfEnabledWithStraightStringParameter(ch.qos.logback.classic.LoggerPerfTest) 
  > Time elapsed: 5.74 sec  <<< FAILURE!
 > junit.framework.AssertionFailedError: current duration 2605.0 exceeded
 > expected 438.08813999999995 (adjusted reference), 500 (raw reference)

Your tests results show that the code is not contention free, unless you machine 
is loaded which can alter the test results.


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