aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2013-08-15 07:00:50 (EDT)
committerThomas Becker2013-08-15 07:13:23 (EDT)
commite34ba252a28b243a201f014f4eb1f7f2fbb8a337 (patch)
tree84a180f082b5456072525fdb19f9c8efa0776804
parentc5e445712484e4c1696ac931989ce636d76f6374 (diff)
downloadorg.eclipse.jetty.project-e34ba252a28b243a201f014f4eb1f7f2fbb8a337.zip
org.eclipse.jetty.project-e34ba252a28b243a201f014f4eb1f7f2fbb8a337.tar.gz
org.eclipse.jetty.project-e34ba252a28b243a201f014f4eb1f7f2fbb8a337.tar.bz2
413737 hide stacktrace in ReferrerPushStrategyTest
-rw-r--r--jetty-spdy/spdy-http-server/src/test/java/org/eclipse/jetty/spdy/server/http/ReferrerPushStrategyTest.java4
1 files changed, 2 insertions, 2 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 87eb159..82537fd 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
@@ -118,11 +118,11 @@ public class ReferrerPushStrategyTest extends AbstractHTTPSPDYTest
@Test
public void testClientResetsPushStreams() throws Exception
{
+ ((StdErrLog)Log.getLogger("org.eclipse.jetty.server.HttpChannel")).setHideStacks(true);
sendMainRequestAndCSSRequest(null, false);
final CountDownLatch pushDataLatch = new CountDownLatch(1);
final CountDownLatch pushSynHeadersValid = new CountDownLatch(1);
Session session = startClient(version, serverAddress, null);
- ((StdErrLog)LOG.getLogger("org.eclipse.jetty.spdy.StandardSession")).setHideStacks(true);
// Send main request. That should initiate the push push's which get reset by the client
sendRequest(session, mainRequestHeaders, pushSynHeadersValid, pushDataLatch, true);
@@ -130,7 +130,7 @@ public class ReferrerPushStrategyTest extends AbstractHTTPSPDYTest
assertThat("Push push headers valid", pushSynHeadersValid.await(5, TimeUnit.SECONDS), is(true));
sendRequest(session, associatedCSSRequestHeaders, pushSynHeadersValid, pushDataLatch, true);
- ((StdErrLog)LOG.getLogger("org.eclipse.jetty.spdy.StandardSession")).setHideStacks(false);
+ ((StdErrLog)Log.getLogger("org.eclipse.jetty.server.HttpChannel")).setHideStacks(false);
}
@Test