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 2015/12/14 22:59:08 UTC

svn commit: r1720022 - /tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java

Author: markt
Date: Mon Dec 14 21:59:07 2015
New Revision: 1720022

URL: http://svn.apache.org/viewvc?rev=1720022&view=rev
Log:
Enable debug logging for test that sometimes fails to (hopefully) provide a better idea of why it fails.

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=1720022&r1=1720021&r2=1720022&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 Mon Dec 14 21:59:07 2015
@@ -16,6 +16,9 @@
  */
 package org.apache.coyote.http2;
 
+import java.util.logging.Level;
+import java.util.logging.LogManager;
+
 import org.junit.Assert;
 import org.junit.Test;
 
@@ -49,6 +52,11 @@ public class TestHttp2Section_5_3 extend
 
     @Test
     public void testWeighting() throws Exception {
+
+        // Temporary debug logging for server side code that allocates capacity
+        // to streams to debug BZ 58659
+        LogManager.getLogManager().getLogger(Http2UpgradeHandler.class.getName()).setLevel(Level.ALL);
+
         http2Connect();
 
         // Default connection window size is 64k - 1. Initial request will have



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