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

reta pushed a commit to branch 4.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 313e9d55e0464015db9877d130f3ed5b28748910
Author: Andriy Redko <[email protected]>
AuthorDate: Sun Nov 30 19:03:34 2025 -0500

    Add timeout to DeliveryAssuranceOnewayTest since it always hangs on Windows 
build (#2760)
    
    (cherry picked from commit 4b05865687b71e9df5efdbbced99838b880cd94f)
---
 .../systest/ws/rm/DeliveryAssuranceOnewayTest.java | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git 
a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/DeliveryAssuranceOnewayTest.java
 
b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/DeliveryAssuranceOnewayTest.java
index 07cecf6967..0477cdb7a8 100644
--- 
a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/DeliveryAssuranceOnewayTest.java
+++ 
b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/DeliveryAssuranceOnewayTest.java
@@ -92,12 +92,12 @@ public class DeliveryAssuranceOnewayTest extends 
AbstractBusClientServerTestBase
         Thread.sleep(100);
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testAtLeastOnce() throws Exception {
         testOnewayAtLeastOnce(null);
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testAtLeastOnceAsyncExecutor() throws Exception {
         testOnewayAtLeastOnce(Executors.newSingleThreadExecutor());
     }
@@ -138,12 +138,12 @@ public class DeliveryAssuranceOnewayTest extends 
AbstractBusClientServerTestBase
         assertTrue("Too few messages " + actualArgs.size(), callArgs.length <= 
actualArgs.size());
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testAtMostOnce() throws Exception {
         testOnewayAtMostOnce(null);
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testAtMostOnceAsyncExecutor() throws Exception {
         testOnewayAtMostOnce(Executors.newSingleThreadExecutor());
     }
@@ -172,12 +172,12 @@ public class DeliveryAssuranceOnewayTest extends 
AbstractBusClientServerTestBase
 
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testExactlyOnce() throws Exception {
         testOnewayExactlyOnce(null);
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testExactlyOnceAsyncExecutor() throws Exception {
         testOnewayExactlyOnce(Executors.newSingleThreadExecutor());
     }
@@ -211,12 +211,12 @@ public class DeliveryAssuranceOnewayTest extends 
AbstractBusClientServerTestBase
 
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testInOrder() throws Exception {
         testOnewayInOrder(null);
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testInOrderAsyncExecutor() throws Exception {
         testOnewayInOrder(Executors.newSingleThreadExecutor());
     }
@@ -243,7 +243,7 @@ public class DeliveryAssuranceOnewayTest extends 
AbstractBusClientServerTestBase
         }
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testOnewayAtLeastOnceInOrderDelay() throws Exception {
         int numMessages = 4;
         init("org/apache/cxf/systest/ws/rm/atleastonce-inorder.xml", null);
@@ -281,12 +281,12 @@ public class DeliveryAssuranceOnewayTest extends 
AbstractBusClientServerTestBase
         }
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testAtMostOnceInOrder() throws Exception {
         testOnewayAtMostOnceInOrder(null);
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testAtMostOnceInOrderAsyncExecutor() throws Exception {
         testOnewayAtMostOnceInOrder(Executors.newSingleThreadExecutor());
     }
@@ -314,12 +314,12 @@ public class DeliveryAssuranceOnewayTest extends 
AbstractBusClientServerTestBase
         }
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testExactlyOnceInOrder() throws Exception {
         testOnewayExactlyOnceInOrder(null);
     }
 
-    @Test
+    @Test(timeout = 60000)
     public void testExactlyOnceInOrderAsyncExecutor() throws Exception {
         testOnewayExactlyOnceInOrder(Executors.newSingleThreadExecutor());
     }

Reply via email to