aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2013-06-06 10:46:29 (EDT)
committerJoakim Erdfelt2013-06-17 12:19:02 (EDT)
commitba9f9b4195418e86ccd8d612e26dd9179d94c792 (patch)
tree57ee9f5ea404c907079e6af46e9bc15af51295d8
parent477dd0938e1c5072c6167d81d635c2907f6a3867 (diff)
downloadorg.eclipse.jetty.project-ba9f9b4195418e86ccd8d612e26dd9179d94c792.zip
org.eclipse.jetty.project-ba9f9b4195418e86ccd8d612e26dd9179d94c792.tar.gz
org.eclipse.jetty.project-ba9f9b4195418e86ccd8d612e26dd9179d94c792.tar.bz2
406759 supressed stacktrace in ReferrerPushStrategyTest
-rw-r--r--jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/ReferrerPushStrategyTest.java5
1 files changed, 5 insertions, 0 deletions
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 4b516bd..46f180f 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