From 12a2d3f475db141abd938f04dfed73cc16217aa9 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Fri, 21 Sep 2012 15:23:56 +0200 Subject: [PATCH] jetty-9: HTTP client: hiding stack traces for expected exception on server. --- .../org/eclipse/jetty/client/HttpConnectionLifecycleTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpConnectionLifecycleTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpConnectionLifecycleTest.java index 1d4f77c63da..a14eda36206 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpConnectionLifecycleTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpConnectionLifecycleTest.java @@ -305,7 +305,7 @@ public class HttpConnectionLifecycleTest extends AbstractHttpClientServerTest public void test_BigRequestContent_ResponseWithConnectionCloseHeader_RemovesConnection() throws Exception { StdErrLog logger = (StdErrLog)Log.getLogger(org.eclipse.jetty.server.HttpConnection.class); -// logger.setHideStacks(true); + logger.setHideStacks(true); try { start(new AbstractHandler() @@ -351,7 +351,7 @@ public class HttpConnectionLifecycleTest extends AbstractHttpClientServerTest } finally { -// logger.setHideStacks(false); + logger.setHideStacks(false); } } }