You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2018/11/26 21:24:20 UTC

svn commit: r1847492 - /tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java

Author: markt
Date: Mon Nov 26 21:24:20 2018
New Revision: 1847492

URL: http://svn.apache.org/viewvc?rev=1847492&view=rev
Log:
Renmove the debug code.

Modified:
    tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java

Modified: tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java?rev=1847492&r1=1847491&r2=1847492&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java (original)
+++ tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java Mon Nov 26 21:24:20 2018
@@ -153,11 +153,8 @@ public class TestAsync extends Http2Test
         // Body
 
         if (!connectionUnlimited || !streamUnlimited) {
-            // TODO Remove debug code
-            System.out.println("Read loop 1");
             while (output.getBytesRead() < startingWindowSize) {
                 parser.readFrame(true);
-                System.out.println(output.getBytesRead());
             }
 
             // Check that the right number of bytes were received
@@ -173,11 +170,8 @@ public class TestAsync extends Http2Test
                 sendWindowUpdate(0, windowSizeIncrease);
             }
 
-            // TODO Remove debug code
-            System.out.println("Read loop 2");
             while (output.getBytesRead() < startingWindowSize + windowSizeIncrease) {
                 parser.readFrame(true);
-                System.out.println(output.getBytesRead());
             }
 
             // Check that the right number of bytes were received
@@ -193,11 +187,8 @@ public class TestAsync extends Http2Test
             }
         }
 
-        // TODO Remove debug code
-        System.out.println("Read loop 3");
         while (!output.getTrace().endsWith("3-EndOfStream\n")) {
             parser.readFrame(true);
-            System.out.println(output.getBytesRead());
         }
 
         // Check that the right number of bytes were received



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org