aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2013-06-10 10:01:19 (EDT)
committerThomas Becker2013-06-10 10:01:19 (EDT)
commitfb5de72f76d47159999bf8c5a52a6b95aff9f356 (patch)
treede8a10c20dafeaaa0d155bb068cb20345b604419
parentba6ce78fc2893a83d674360fdec6812c439bc241 (diff)
downloadorg.eclipse.jetty.project-fb5de72f76d47159999bf8c5a52a6b95aff9f356.zip
org.eclipse.jetty.project-fb5de72f76d47159999bf8c5a52a6b95aff9f356.tar.gz
org.eclipse.jetty.project-fb5de72f76d47159999bf8c5a52a6b95aff9f356.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);
}
}