You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2025/12/09 02:21:48 UTC
(cxf) 02/08: Add timeout to MessageCallbackOnewayTest since it often hangs on Windows build
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 7ebf5d70c71e8178c998f53a8ed8e5a1ee3ee84e
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Fri Dec 5 12:53:44 2025 -0500
Add timeout to MessageCallbackOnewayTest since it often hangs on Windows build
(cherry picked from commit 6e8c639ab8d972937c888c911559234ffba3de88)
---
.../cxf/systest/ws/rm/MessageCallbackOnewayTest.java | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/MessageCallbackOnewayTest.java b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/MessageCallbackOnewayTest.java
index 3fea676c76..6d73c098c1 100644
--- a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/MessageCallbackOnewayTest.java
+++ b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/MessageCallbackOnewayTest.java
@@ -96,12 +96,12 @@ public class MessageCallbackOnewayTest extends AbstractBusClientServerTestBase {
}
}
- @Test
+ @Test(timeout = 60000)
public void testAtLeastOnce() throws Exception {
testOnewayAtLeastOnce(null);
}
- @Test
+ @Test(timeout = 60000)
public void testAtLeastOnceAsyncExecutor() throws Exception {
testOnewayAtLeastOnce(Executors.newSingleThreadExecutor());
}
@@ -118,12 +118,12 @@ public class MessageCallbackOnewayTest extends AbstractBusClientServerTestBase {
callback.waitAndVerify(8, 1000L, 10000L);
}
- @Test
+ @Test(timeout = 60000)
public void testAtMostOnce() throws Exception {
testOnewayAtMostOnce(null);
}
- @Test
+ @Test(timeout = 60000)
public void testAtMostOnceAsyncExecutor() throws Exception {
testOnewayAtMostOnce(Executors.newSingleThreadExecutor());
}
@@ -141,12 +141,12 @@ public class MessageCallbackOnewayTest extends AbstractBusClientServerTestBase {
callback.waitAndVerify(8, 1000L, 10000L);
}
- @Test
+ @Test(timeout = 60000)
public void testExactlyOnce() throws Exception {
testOnewayExactlyOnce(null);
}
- @Test
+ @Test(timeout = 60000)
public void testExactlyOnceAsyncExecutor() throws Exception {
testOnewayExactlyOnce(Executors.newSingleThreadExecutor());
}
@@ -164,12 +164,12 @@ public class MessageCallbackOnewayTest extends AbstractBusClientServerTestBase {
callback.waitAndVerify(8, 1000L, 10000L);
}
- @Test
+ @Test(timeout = 60000)
public void testExactlyOnceInOrder() throws Exception {
testOnewayExactlyOnceInOrder(null);
}
- @Test
+ @Test(timeout = 60000)
public void testExactlyOnceInOrderAsyncExecutor() throws Exception {
testOnewayExactlyOnceInOrder(Executors.newSingleThreadExecutor());
}