[logback-dev] [qos-ch/logback] 3cd6c8: improved MockAppender to reduce timing sensitivity
Carl Harris
ceharris at vt.edu
Tue Apr 9 12:42:32 CEST 2013
Branch: refs/heads/master
Home: https://github.com/qos-ch/logback
Commit: 3cd6c8ca1142573a2b69e8d2309b31216d764f15
https://github.com/qos-ch/logback/commit/3cd6c8ca1142573a2b69e8d2309b31216d764f15
Author: Carl Harris <ceharris at vt.edu>
Date: 2013-04-09 (Tue, 09 Apr 2013)
Changed paths:
M logback-classic/src/test/java/ch/qos/logback/classic/net/SocketRemoteTest.java
M logback-classic/src/test/java/ch/qos/logback/classic/net/mock/MockAppender.java
M logback-classic/src/test/java/ch/qos/logback/classic/net/server/SocketServerFunctionalTest.java
Log Message:
-----------
improved MockAppender to reduce timing sensitivity
The MockAppender now uses a BlockingQueue to hold appended events
until the test subject can pick them up using either awaitAppend or
getLastEvent.
More information about the logback-dev
mailing list