aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2013-08-15 06:10:05 (EDT)
committerThomas Becker2013-08-15 06:13:44 (EDT)
commit050ac79f3d3eb9dafeb2aff057bc37d212d14157 (patch)
tree4a9f67c65c872ed2b78c0fe02d66804e4938b598
parent38549f20cd7cd483910152354ee5a2359cd920de (diff)
downloadorg.eclipse.jetty.project-050ac79f3d3eb9dafeb2aff057bc37d212d14157.zip
org.eclipse.jetty.project-050ac79f3d3eb9dafeb2aff057bc37d212d14157.tar.gz
org.eclipse.jetty.project-050ac79f3d3eb9dafeb2aff057bc37d212d14157.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.java2
1 files changed, 2 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 fa556a8..f34aa35 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
@@ -123,6 +123,7 @@ public class ReferrerPushStrategyTest extends AbstractHTTPSPDYTest
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,6 +131,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);
}
@Test