You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2020/04/29 15:18:13 UTC
[cxf] 01/04: Should fail on valid responses in
DispatchClientServerWithHugeResponseTest
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit a409fb55cd74a8106ddfe18de8c2edaf6e744de7
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Wed Apr 29 13:03:56 2020 +0100
Should fail on valid responses in DispatchClientServerWithHugeResponseTest
---
.../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 40a7d79..de95747 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
@@ -136,6 +136,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");
@@ -175,6 +176,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");