aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2013-06-10 10:01:19 (EDT)
committerJoakim Erdfelt2013-06-17 12:19:03 (EDT)
commit00744e42fcef3d79fa495eb2cd04d13a4a9eeeea (patch)
treee2ea9c6c8c7878c6b17827d0394f162ac17a4c0d
parent11760a7c831c2616dd4a3ca6baf0b6f971f9839a (diff)
downloadorg.eclipse.jetty.project-00744e42fcef3d79fa495eb2cd04d13a4a9eeeea.zip
org.eclipse.jetty.project-00744e42fcef3d79fa495eb2cd04d13a4a9eeeea.tar.gz
org.eclipse.jetty.project-00744e42fcef3d79fa495eb2cd04d13a4a9eeeea.tar.bz2
410341 suppress stacktraces that happen during test setup shutdown after successful test run
-rw-r--r--jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/AbstractHTTPSPDYTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/AbstractHTTPSPDYTest.java b/jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/AbstractHTTPSPDYTest.java
index ee9b20f..fec3936 100644
--- a/jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/AbstractHTTPSPDYTest.java
+++ b/jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/AbstractHTTPSPDYTest.java
@@ -31,6 +31,8 @@ import org.eclipse.jetty.spdy.api.SPDY;
import org.eclipse.jetty.spdy.api.Session;
import org.eclipse.jetty.spdy.api.SessionFrameListener;
import org.eclipse.jetty.spdy.client.SPDYClient;
+import org.eclipse.jetty.util.log.Log;
+import org.eclipse.jetty.util.log.StdErrLog;
import org.eclipse.jetty.util.thread.QueuedThreadPool;
import org.junit.After;
import org.junit.Rule;
@@ -126,6 +128,7 @@ public abstract class AbstractHTTPSPDYTest
@After
public void destroy() throws Exception
{
+ ((StdErrLog)Log.getLogger(HTTPSPDYServerConnector.class)).setHideStacks(true);
if (clientFactory != null)
{
clientFactory.stop();
@@ -135,5 +138,6 @@ public abstract class AbstractHTTPSPDYTest
server.stop();
server.join();
}
+ ((StdErrLog)Log.getLogger(HTTPSPDYServerConnector.class)).setHideStacks(false);
}
}