This is an automated email from the ASF dual-hosted git repository. reta pushed a commit to branch 3.6.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit b21e48cac03076b0477a3d32f1f472b843aeea1e 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 (cherry picked from commit 6e8c639ab8d972937c888c911559234ffba3de88) (cherry picked from commit 7ebf5d70c71e8178c998f53a8ed8e5a1ee3ee84e) (cherry picked from commit 84aa21eadc6a9222904c735aa83f55ff212eee2d) --- .../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 c0f6a5af67..0498a233c9 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()); }
