jetty-9: HTTP client: hiding stack traces for expected exception on server.

This commit is contained in:
Simone Bordet 2012-09-21 15:23:56 +02:00
parent f81dc0161e
commit 12a2d3f475
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}