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

MalformedURL exception when try to run tests #470

Open
sroui opened this issue Oct 19, 2020 · 1 comment
Open

MalformedURL exception when try to run tests #470

sroui opened this issue Oct 19, 2020 · 1 comment

Comments

@sroui
Copy link

sroui commented Oct 19, 2020

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!

@arjantijms
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants