Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AsyncAppender/SocketAppender unit tests
AsyncAppenderBaseTest: The appender was not allowed enough time to flush the appender on #stop(), causing the empty-check of the appender's queue to fail. The test appender's max-flush time is now extended from 30ms to >1000ms. AbstractSocketAppenderIntegrationTest: A unit test expected deque.takeFirst() to be called only once after a log-event is appended, but the call actually occurs twice in a while-loop, where the second call is intended to block, waiting for the next log-event. AbstractSocketAppenderTest: A unit test that verified appender behavior when its deque was at capacity neglected to fill the deque before testing for errors.
- Loading branch information
Showing
3 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters