aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2013-06-06 10:46:29 (EDT)
committerThomas Becker2013-06-06 10:46:45 (EDT)
commitbf9a4dd0c05f7c56c82138c5f5c492a825a8238a (patch)
treee912a54fc094300b508d057b26c3175ed9c351e1
parent4c3a777ed515b5039c80119d60334a69c3347ab0 (diff)
downloadorg.eclipse.jetty.project-bf9a4dd0c05f7c56c82138c5f5c492a825a8238a.zip
org.eclipse.jetty.project-bf9a4dd0c05f7c56c82138c5f5c492a825a8238a.tar.gz
org.eclipse.jetty.project-bf9a4dd0c05f7c56c82138c5f5c492a825a8238a.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