Skip to content

ServletMappingTest::testRoot test fails #41

Open
@JarekW

Description

@JarekW

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

Activity

arjantijms

arjantijms commented on Mar 1, 2020

@arjantijms
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      ServletMappingTest::testRoot test fails · Issue #41 · javaee-samples/javaee8-samples