This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch 3.2.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 0cbf7e0b2e30848956b6732c9beb25e0256d088e Author: Colm O hEigeartaigh <[email protected]> AuthorDate: Wed Apr 29 13:03:56 2020 +0100 Should fail on valid responses in DispatchClientServerWithHugeResponseTest (cherry picked from commit a409fb55cd74a8106ddfe18de8c2edaf6e744de7) (cherry picked from commit fd39bea090e3799cfbc13f406d9a037559205924) --- .../cxf/systest/dispatch/DispatchClientServerWithHugeResponseTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerWithHugeResponseTest.java b/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerWithHugeResponseTest.java index fbe926c..81f10a5 100644 --- a/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerWithHugeResponseTest.java +++ b/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerWithHugeResponseTest.java @@ -132,6 +132,7 @@ public class DispatchClientServerWithHugeResponseTest extends AbstractBusClientS Response<SOAPMessage> response = disp.invokeAsync(soapReqMsg3); try { response.get(300, TimeUnit.SECONDS); + fail("should catch exception"); } catch (TimeoutException te) { fail("We should not have encountered a timeout, " + "should get some exception tell me stackoverflow"); @@ -171,6 +172,7 @@ public class DispatchClientServerWithHugeResponseTest extends AbstractBusClientS Response<SOAPMessage> response = disp.invokeAsync(soapReqMsg3); try { response.get(300, TimeUnit.SECONDS); + fail("should catch exception"); } catch (TimeoutException te) { fail("We should not have encountered a timeout, " + "should get some exception tell me stackoverflow");
