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 <lukaszlen...@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());

Reply via email to