On, Intel Core i7 2.30GHz, Windows7 32Bit Os . workerThreadFlushesOnStop() test Success.
12:21:43,252 |-INFO in ch.qos.logback.core.AsyncAppenderBase[null] - Attaching appender named [list] to AsyncAppender.
12:21:43,268 |-INFO in ch.qos.logback.core.AsyncAppenderBase[null] - Setting discardingThreshold to 0
12:21:43,268 |-INFO in ch.qos.logback.core.AsyncAppenderBase[null] - Worker thread will flush remaining events before exiting.
12:21:43,315 |-INFO in ch.qos.logback.core.AsyncAppenderBase[null] - Queue flush finished successfully within timeout.
But. Intel Core2 Duo CPU 2.40GHz, Windows7 32Bit OS Test is Fail.
13:45:41,328 |-INFO in ch.qos.logback.core.AsyncAppenderBase[null] - Attaching appender named [list] to AsyncAppender.
13:45:41,343 |-INFO in ch.qos.logback.core.AsyncAppenderBase[null] - Setting discardingThreshold to 0
13:45:41,343 |-INFO in ch.qos.logback.core.AsyncAppenderBase[null] - Worker thread will flush remaining events before exiting.
13:45:41,376 |-WARN in ch.qos.logback.core.AsyncAppenderBase[null] - Max queue flush timeout (30 ms) exceeded. Approximately 3 queued events were possibly discarded.
java.lang.AssertionError: expected:<0> but was:<2>
\logback\logback-core\src\test\java\ch\qos\logback\core\testUtil\DelayingListAppender
public int delay = 5; // fail. if delay = 8 then Success .
is because Slower PC ?
why don't u. bigger then 8 ? 
|