diff --git a/jetty-spdy/spdy-core/src/test/java/org/eclipse/jetty/spdy/StandardStreamTest.java b/jetty-spdy/spdy-core/src/test/java/org/eclipse/jetty/spdy/StandardStreamTest.java index 8dd0a370d3c..b3c8a515eff 100644 --- a/jetty-spdy/spdy-core/src/test/java/org/eclipse/jetty/spdy/StandardStreamTest.java +++ b/jetty-spdy/spdy-core/src/test/java/org/eclipse/jetty/spdy/StandardStreamTest.java @@ -86,16 +86,8 @@ public class StandardStreamTest { PushSynInfo pushSynInfo = (PushSynInfo)argument; if (pushSynInfo.getAssociatedStreamId() != associatedStreamId) - { - System.out.println("streamIds do not match!"); return false; - } - if (pushSynInfo.isClose() != synInfo.isClose()) - { - System.out.println("isClose doesn't match"); - return false; - } - return true; + return pushSynInfo.isClose() == synInfo.isClose(); } } diff --git a/jetty-spdy/spdy-jetty/src/test/java/org/eclipse/jetty/spdy/ClosedStreamTest.java b/jetty-spdy/spdy-jetty/src/test/java/org/eclipse/jetty/spdy/ClosedStreamTest.java index b7659c7932a..69b60f0e8c5 100644 --- a/jetty-spdy/spdy-jetty/src/test/java/org/eclipse/jetty/spdy/ClosedStreamTest.java +++ b/jetty-spdy/spdy-jetty/src/test/java/org/eclipse/jetty/spdy/ClosedStreamTest.java @@ -141,7 +141,6 @@ public class ClosedStreamTest extends AbstractTest @Override public void onReply(Stream stream, ReplyInfo replyInfo) { - System.out.println("ONREPLY CLIENT CALLED"); replyReceivedLatch.countDown(); }