From bf9a4dd0c05f7c56c82138c5f5c492a825a8238a Mon Sep 17 00:00:00 2001 From: Thomas Becker Date: Thu, 6 Jun 2013 16:46:29 +0200 Subject: [PATCH] 406759 supressed stacktrace in ReferrerPushStrategyTest --- .../jetty/spdy/server/http/ReferrerPushStrategyTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/ReferrerPushStrategyTest.java b/jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/ReferrerPushStrategyTest.java index 4b516bdd253..46f180ff925 100644 --- a/jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/ReferrerPushStrategyTest.java +++ b/jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/ReferrerPushStrategyTest.java @@ -57,6 +57,7 @@ import org.eclipse.jetty.util.Fields; import org.eclipse.jetty.util.Promise; import org.eclipse.jetty.util.log.Log; import org.eclipse.jetty.util.log.Logger; +import org.eclipse.jetty.util.log.StdErrLog; import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; @@ -181,6 +182,8 @@ public class ReferrerPushStrategyTest extends AbstractHTTPSPDYTest SettingsInfo settingsInfo = new SettingsInfo(settings); session.settings(settingsInfo); + ((StdErrLog)Log.getLogger("org.eclipse.jetty.spdy.server.http" + + ".HttpTransportOverSPDY$PushResourceCoordinator$1")).setHideStacks(true); session.syn(new SynInfo(mainRequestHeaders, true), new StreamFrameListener.Adapter() { @Override @@ -192,6 +195,8 @@ public class ReferrerPushStrategyTest extends AbstractHTTPSPDYTest }); assertThat("No push stream is received", pushReceivedLatch.await(1, TimeUnit.SECONDS), is(false)); + ((StdErrLog)Log.getLogger("org.eclipse.jetty.spdy.server.http" + + ".HttpTransportOverSPDY$PushResourceCoordinator$1")).setHideStacks(false); } @Test