diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/AbstractHttpExchangeCancelTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/AbstractHttpExchangeCancelTest.java index 3bbb49b99eb..28d0535e58b 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/AbstractHttpExchangeCancelTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/AbstractHttpExchangeCancelTest.java @@ -326,6 +326,7 @@ public abstract class AbstractHttpExchangeCancelTest extends TestCase @Override protected void onException(Throwable ex) { + System.err.println("!!! onException"); ex.printStackTrace(); // TODO Auto-generated method stub super.onException(ex); diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/BlockingHttpExchangeCancelTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/BlockingHttpExchangeCancelTest.java index 45d407f687a..70cdb74df8a 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/BlockingHttpExchangeCancelTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/BlockingHttpExchangeCancelTest.java @@ -54,8 +54,18 @@ public class BlockingHttpExchangeCancelTest extends AbstractHttpExchangeCancelTe { boolean enabled=Log.getLog().isDebugEnabled(); Log.getLog().setDebugEnabled(true); - super.testHttpExchangeOnExpire(); - Log.getLog().setDebugEnabled(enabled); + boolean ok=false; + try + { + super.testHttpExchangeOnExpire(); + ok=true; + } + finally + { + Log.getLog().setDebugEnabled(enabled); + if (!ok) + System.exit(1); + } }