Skip to content

Commit 7c11feb

Browse files
committed
tests: increase Awaitility timeout in AbstractAsyncThreadContextTestBase to 5s to reduce flakiness
Signed-off-by: kcruz28 <[email protected]>
1 parent 20fcb45 commit 7c11feb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ 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-
// Allow more time for the async logger to free buffer space on slower environments.
175174
waitAtMost(5, TimeUnit.SECONDS)
176175
.pollDelay(10, TimeUnit.MILLISECONDS)
177176
.until(() -> remainingCapacity.getAsLong() > 0);

0 commit comments

Comments
 (0)