Skip to content

Commit 168aea0

Browse files
committed
tests: increase Awaitility timeout in AbstractAsyncThreadContextTestBase to 5s to reduce flakiness
1 parent 2b5f65b commit 168aea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log4j-core-test/src/test/java/org/apache/logging/log4j/core/async/AbstractAsyncThreadContextTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ protected void testAsyncLogWritesToLog(final ContextImpl contextImpl, final Mode
171171
for (int i = 0; i < LINE_COUNT; i++) {
172172
// buffer may be full
173173
if (i >= 128) {
174-
waitAtMost(500, TimeUnit.MILLISECONDS)
174+
waitAtMost(5, TimeUnit.SECONDS)
175175
.pollDelay(10, TimeUnit.MILLISECONDS)
176176
.until(() -> remainingCapacity.getAsLong() > 0);
177177
}

0 commit comments

Comments
 (0)