Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServletMappingTest::testRoot test fails #41

Open
JarekW opened this issue Mar 1, 2020 · 1 comment
Open

ServletMappingTest::testRoot test fails #41

JarekW opened this issue Mar 1, 2020 · 1 comment

Comments

@JarekW
Copy link

JarekW commented Mar 1, 2020

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 (edd3ca2)
java: 11.0.6 oracle
payara: 5.194
maven profile: payara-remote

@arjantijms
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants