Skip to content

Commit fda45ec

Browse files
committed
Increase timeout in AsyncLoggerConfigTest
1 parent 8be94bc commit fda45ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

log4j-async-logger/src/test/java/org/apache/logging/log4j/async/logger/AsyncLoggerConfigTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ public void testSingleFilterInvocation() {
111111
disruptor.start();
112112
try {
113113
config.log(FQCN, FQCN, null, Level.INFO, new SimpleMessage(), null);
114-
verify(appender, timeout(100).times(1)).append(any());
114+
// If this fails, the log event might not have reached the asynchronous thread yet
115+
verify(appender, timeout(1000).times(1)).append(any());
115116
verify(filter, times(1)).filter(any());
116117
} finally {
117118
disruptor.stop();

0 commit comments

Comments
 (0)