javaee8-samples icon indicating copy to clipboard operation
javaee8-samples copied to clipboard

ServletMappingTest::testRoot test fails

Open JarekW opened this issue 4 years ago • 1 comments

ServletMappingTest::testRoot test fails. Assertion check for empty patern, but server return slash:

assertTrue(content.contains("Pattern:''"));
Content for `http://localhost:8080/d99eed89-7f43-41a8-9792-114ba612a9cd/` :
Mapping match:CONTEXT_ROOT
Match value:''
Pattern:'/'

branch: master (edd3ca2455204c0410ba96420cbb31600c9b6f06) java: 11.0.6 oracle payara: 5.194 maven profile: payara-remote

JarekW avatar Mar 01 '20 15:03 JarekW

Thx for the rapport. See https://javadoc.io/doc/jakarta.servlet/jakarta.servlet-api/latest/index.html

The Pattern should be empty in both cases. We should add this same test to the TCK I guess. Payara is not compatible at this point, I had this on my list to fix in Payara but never came to it.

arjantijms avatar Mar 01 '20 23:03 arjantijms