jetty-9: HTTP client: hiding stack traces for expected exception on server.
This commit is contained in:
parent
f81dc0161e
commit
12a2d3f475
|
@ -305,7 +305,7 @@ public class HttpConnectionLifecycleTest extends AbstractHttpClientServerTest
|
||||||
public void test_BigRequestContent_ResponseWithConnectionCloseHeader_RemovesConnection() throws Exception
|
public void test_BigRequestContent_ResponseWithConnectionCloseHeader_RemovesConnection() throws Exception
|
||||||
{
|
{
|
||||||
StdErrLog logger = (StdErrLog)Log.getLogger(org.eclipse.jetty.server.HttpConnection.class);
|
StdErrLog logger = (StdErrLog)Log.getLogger(org.eclipse.jetty.server.HttpConnection.class);
|
||||||
// logger.setHideStacks(true);
|
logger.setHideStacks(true);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
start(new AbstractHandler()
|
start(new AbstractHandler()
|
||||||
|
@ -351,7 +351,7 @@ public class HttpConnectionLifecycleTest extends AbstractHttpClientServerTest
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
// logger.setHideStacks(false);
|
logger.setHideStacks(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue