You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mi...@apache.org on 2019/11/09 11:00:57 UTC

[tomcat] branch 8.5.x updated: Fix test fallout of BZ 63905

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new c0e8462  Fix test fallout of BZ 63905
c0e8462 is described below

commit c0e8462751ac17b1d4238f5a4fa3102b08022547
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Nov 9 11:35:22 2019 +0100

    Fix test fallout of BZ 63905
---
 test/org/apache/coyote/http2/TestHttp2InitialConnection.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/coyote/http2/TestHttp2InitialConnection.java b/test/org/apache/coyote/http2/TestHttp2InitialConnection.java
index 2157eae..a362a19 100644
--- a/test/org/apache/coyote/http2/TestHttp2InitialConnection.java
+++ b/test/org/apache/coyote/http2/TestHttp2InitialConnection.java
@@ -127,7 +127,7 @@ public class TestHttp2InitialConnection extends Http2TestBase {
             int statusHeaderLength = sm
                     .getString("errorReportValve.statusHeader", "", "")
                     .getBytes(StandardCharsets.UTF_8).length;
-            int len = 1073 + serverInfoLength + statusHeaderLength * 2;
+            int len = 708 + serverInfoLength + statusHeaderLength * 2;
             String contentLength = String.valueOf(len);
             return getResponseBodyFrameTrace(streamId,
                     testData.getExpectedStatus(), "text/html;charset=utf-8",


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