You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2022/01/12 17:01:13 UTC

[logging-log4j2] 03/04: Increase timeout to attempt to fix GitHub action builds.

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

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

commit 68a131f2ad3b82ab9b3140aa0da5154c0b7de259
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Jan 12 12:00:15 2022 -0500

    Increase timeout to attempt to fix GitHub action builds.
---
 .../org/apache/logging/log4j/core/net/SocketAppenderReconnectTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/net/SocketAppenderReconnectTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/net/SocketAppenderReconnectTest.java
index 87f30dd..21ce372 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/net/SocketAppenderReconnectTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/net/SocketAppenderReconnectTest.java
@@ -201,7 +201,7 @@ public class SocketAppenderReconnectTest {
     private static void awaitUntilSucceeds(final Runnable runnable) {
         // These figures are collected via trial-and-error; nothing scientific to look for here.
         final long pollIntervalMillis = 1_000L;
-        final long timeoutSeconds = 15L;
+        final long timeoutSeconds = 60L;
         await()
                 .pollInterval(pollIntervalMillis, TimeUnit.MILLISECONDS)
                 .atMost(timeoutSeconds, TimeUnit.SECONDS)