Skip to content

MalformedURL exception when try to run tests #470

Open

Description

@sroui

I have followed the video included in the README.md which explains how to run the samples.

First, I have run the command mvn clean install -Dmaven-skip-test=true in the root directory of the project and I started wildfly server.
Then I have executed the following command 'mvn clean install -Pwildfly-remote in the module servlet/cookies in order to see if the tests run successfully, but I got this error:

[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] SimpleServletTest.testCookies:46 » MalformedURL For input string: "8080TestSer...
[ERROR] SimpleServletTest.testHttpOnlyCookies:58 » MalformedURL For input string: "808...
[INFO]
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

I have done a search on how to solve this problem, unfortonatly, I have not find any.

Capture
Capture

Thank you for your help!

Activity

  1. arjantijms commented on Oct 19, 2020

    @arjantijms
    Contributor

    Quickly glancing at this, I guess this has to do with the injected URL in Arquillian tests ending with either a / or not. Maybe WildFly changed something here, or maybe the test code changed something here and hasn't been tested on wildly for a long time.

    I'll try to take a look soon.

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