You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2025/10/20 18:54:42 UTC

(logging-log4j2) branch 2.x updated: Increase Awaitility timeout to 5s in `AbstractAsyncThreadContextTestBase` (#3956)

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/2.x by this push:
     new 13e37d85ce Increase Awaitility timeout to 5s in `AbstractAsyncThreadContextTestBase` (#3956)
13e37d85ce is described below

commit 13e37d85ce79b4562a1efff0bcc6a91b9d1529f3
Author: Kevin Cruz <kc...@illinois.edu>
AuthorDate: Mon Oct 20 13:54:36 2025 -0500

    Increase Awaitility timeout to 5s in `AbstractAsyncThreadContextTestBase` (#3956)
---
 .../logging/log4j/core/async/AbstractAsyncThreadContextTestBase.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/async/AbstractAsyncThreadContextTestBase.java b/log4j-core-test/src/test/java/org/apache/logging/log4j/core/async/AbstractAsyncThreadContextTestBase.java
index 0274a934f4..eb6256efc1 100644
--- a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/async/AbstractAsyncThreadContextTestBase.java
+++ b/log4j-core-test/src/test/java/org/apache/logging/log4j/core/async/AbstractAsyncThreadContextTestBase.java
@@ -177,7 +177,7 @@ public abstract class AbstractAsyncThreadContextTestBase {
         for (int i = 0; i < LINE_COUNT; i++) {
             // buffer may be full
             if (i >= 128) {
-                waitAtMost(500, TimeUnit.MILLISECONDS)
+                waitAtMost(5, TimeUnit.SECONDS)
                         .pollDelay(10, TimeUnit.MILLISECONDS)
                         .until(() -> remainingCapacity.getAsLong() > 0);
             }