This is an automated email from the ASF dual-hosted git repository. reta pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 6e8c639ab8d972937c888c911559234ffba3de88 Author: Andriy Redko <[email protected]> AuthorDate: Fri Dec 5 12:53:44 2025 -0500 Add timeout to MessageCallbackOnewayTest since it often hangs on Windows build --- .../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()); }
