You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2019/10/10 09:31:44 UTC
[Bug 63830] New: Tests in org.apache.coyote.http2.TestHttp2Limits
fails due to locale unwareness
https://bz.apache.org/bugzilla/show_bug.cgi?id=63830
Bug ID: 63830
Summary: Tests in org.apache.coyote.http2.TestHttp2Limits fails
due to locale unwareness
Product: Tomcat 8
Version: 8.5.x-trunk
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P2
Component: Connectors
Assignee: dev@tomcat.apache.org
Reporter: michaelo@apache.org
Target Milestone: ----
Based on this discussion:
https://www.mail-archive.com/dev@tomcat.apache.org/msg136980.html
The tests fail for comparasion if the tester's locale isn't en_*:
Testcase: testHeaderLimits1x128k took 0,416 sec
FAILED
Expected: match to regular expression pattern
[0-Goaway-\[1\]-\[11\]-\[Connection \[\d++\], Stream \[3\], .*]
but: was "0-Goaway-[1]-[11]-[Verbindung [2], Stream [3],
Gesamt-Header-Größe zu groß]"
junit.framework.AssertionFailedError:
Expected: match to regular expression pattern
[0-Goaway-\[1\]-\[11\]-\[Connection \[\d++\], Stream \[3\], .*]
but: was "0-Goaway-[1]-[11]-[Verbindung [2], Stream [3],
Gesamt-Header-Größe zu groß]"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at
org.apache.coyote.http2.TestHttp2Limits.doTestHeaderLimits(TestHttp2Limits.java:259)
at
org.apache.coyote.http2.TestHttp2Limits.doTestHeaderLimits(TestHttp2Limits.java:170)
at
org.apache.coyote.http2.TestHttp2Limits.doTestHeaderLimits(TestHttp2Limits.java:164)
at
org.apache.coyote.http2.TestHttp2Limits.doTestHeaderLimits(TestHttp2Limits.java:158)
at
org.apache.coyote.http2.TestHttp2Limits.testHeaderLimits1x128k(TestHttp2Limits.java:138)
So either tomcat-resources-*.jar are excluded from the tests or a StringManager
must be used to compare matching strings.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 63830] Tests in org.apache.coyote.http2.TestHttp2Limits fails
due to locale unwareness
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63830
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fixed in:
- master for 9.0.28 onwards
- 8.5.x for 8.5.48 onwards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 63830] Tests in org.apache.coyote.http2.TestHttp2Limits fails
due to locale unwareness
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63830
Michael Osipov <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michaelo@apache.org
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org