You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2024/01/19 06:45:01 UTC

(struts) 01/01: Extends sleep period to avoid breaking a build

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

lukaszlenart pushed a commit to branch fix/longer-sleep
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 9a6411c8c5661094b8b457cd5e9bbcd641c3443e
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Fri Jan 19 07:44:53 2024 +0100

    Extends sleep period to avoid breaking a build
---
 .../apache/struts2/interceptor/exec/StrutsBackgroundProcessTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/test/java/org/apache/struts2/interceptor/exec/StrutsBackgroundProcessTest.java b/core/src/test/java/org/apache/struts2/interceptor/exec/StrutsBackgroundProcessTest.java
index 331b5a7a9..5906c995a 100644
--- a/core/src/test/java/org/apache/struts2/interceptor/exec/StrutsBackgroundProcessTest.java
+++ b/core/src/test/java/org/apache/struts2/interceptor/exec/StrutsBackgroundProcessTest.java
@@ -112,7 +112,7 @@ public class StrutsBackgroundProcessTest extends StrutsInternalTestCase {
             executor.execute(bp);
         }
 
-        Thread.sleep(500);
+        Thread.sleep(800);
 
         for (BackgroundProcess bp : bps) {
             assertTrue("Process is still active: " + bp, bp.isDone());