Author: markt
Date: Tue Aug 18 09:22:08 2015
New Revision: 1696376
URL: http://svn.apache.org/r1696376
Log:
Switch extra debug output to stdout. Using stderr looks like it could be
interferring with the normal logging.
Modified:
tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java
Modified: tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java?rev=1696376&r1=1696375&r2=1696376&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java
(original)
+++ tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java Tue Aug
18 09:22:08 2015
@@ -66,7 +66,7 @@ public class TestHttp2Section_5_3 extend
// Wait for the ack
parser.readFrame(true);
// Debugging Gump failure
- System.err.println(output.getTrace());
+ System.out.println(output.getTrace());
output.clearTrace();
// At this point the connection window should be 1k and any new stream
@@ -83,10 +83,10 @@ public class TestHttp2Section_5_3 extend
// 17-headers, 17-1k-body
parser.readFrame(true);
// Debugging Gump failure
- System.err.println(output.getTrace());
+ System.out.println(output.getTrace());
parser.readFrame(true);
// Debugging Gump failure
- System.err.println(output.getTrace());
+ System.out.println(output.getTrace());
output.clearTrace();
// Send additional requests. Connection window is empty so only headers
@@ -103,10 +103,10 @@ public class TestHttp2Section_5_3 extend
// 19-headers, 21-headers
parser.readFrame(true);
// Debugging Gump failure
- System.err.println(output.getTrace());
+ System.out.println(output.getTrace());
parser.readFrame(true);
// Debugging Gump failure
- System.err.println(output.getTrace());
+ System.out.println(output.getTrace());
output.clearTrace();
// At this point 17 is blocked because the stream window is zero and
@@ -117,7 +117,7 @@ public class TestHttp2Section_5_3 extend
sendWindowUpdate(0, 1);
parser.readFrame(true);
// Debugging Gump failure
- System.err.println(output.getTrace());
+ System.out.println(output.getTrace());
// This frame is not always written
int count = 0;
@@ -130,7 +130,7 @@ public class TestHttp2Section_5_3 extend
}
// Debugging Gump failure
- System.err.println(output.getTrace());
+ System.out.println(output.getTrace());
String trace = output.getTrace();
Assert.assertTrue(trace, trace.contains("19-Body-1"));
@@ -144,10 +144,10 @@ public class TestHttp2Section_5_3 extend
sendWindowUpdate(0, 1024);
parser.readFrame(true);
// Debugging Gump failure
- System.err.println(output.getTrace());
+ System.out.println(output.getTrace());
parser.readFrame(true);
// Debugging Gump failure
- System.err.println(output.getTrace());
+ System.out.println(output.getTrace());
trace = output.getTrace();
Assert.assertTrue(trace, trace.contains("19-Body-256"));
@@ -162,7 +162,7 @@ public class TestHttp2Section_5_3 extend
for (int i = 0; i < 3; i++) {
parser.readFrame(true);
// Debugging Gump failure
- System.err.println(output.getTrace());
+ System.out.println(output.getTrace());
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]