Bug 63403 - TestHttp2InitialConnection test is failing on a non-English PC (i18n)
Summary: TestHttp2InitialConnection test is failing on a non-English PC (i18n)
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 9
Classification: Unclassified
Component: Connectors (show other bugs)
Version: 9.0.x
Hardware: PC All
: P2 normal (vote)
Target Milestone: -----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-05 12:13 UTC by Konstantin Kolinko
Modified: 2019-05-13 19:32 UTC (History)
0 users



Attachments
TEST-org.apache.coyote.http2.TestHttp2InitialConnection.NIO.txt (5.65 KB, text/plain)
2019-05-05 12:13 UTC, Konstantin Kolinko
Details
63403_testMultipleHostHeaders.png (24.06 KB, image/png)
2019-05-05 14:03 UTC, Konstantin Kolinko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kolinko 2019-05-05 12:13:07 UTC
Created attachment 36568 [details]
TEST-org.apache.coyote.http2.TestHttp2InitialConnection.NIO.txt

Testing releace candidate of 9.0.20 I observe the following failure:

In Ant output:

   [concat] Testsuites with failed tests:
   [concat] TEST-org.apache.coyote.http2.TestHttp2InitialConnection.NIO.txt

In TEST-org.apache.coyote.http2.TestHttp2InitialConnection.NIO.txt file:

Testcase: testMultipleHostHeaders took 0,566 sec
	FAILED
expected:<...[content-language]-[[en]]
1-Header-[content-...> but was:<...[content-language]-[[ru]]

And the same for "testNoHostHeader" test. See attached file for full details.
Comment 1 Konstantin Kolinko 2019-05-05 14:03:58 UTC
Created attachment 36569 [details]
63403_testMultipleHostHeaders.png

Screen-shot of comparing actual and expected results for test case
testMultipleHostHeaders. The size also differs.
Comment 2 Mark Thomas 2019-05-13 19:32:15 UTC
Fixed in:
- master for 9.0.21 onwards
- 8.5.x for 8.5.42 onwards