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

Need to handle running server/port conflict #16

Open
yeekangc opened this issue Sep 20, 2018 · 0 comments
Open

Need to handle running server/port conflict #16

yeekangc opened this issue Sep 20, 2018 · 0 comments
Labels

Comments

@yeekangc
Copy link
Member

yeekangc commented Sep 20, 2018

gradle build -i (as per the guide) failed.

Failure was with the integration test:
io.openliberty.guides.hello.it.EndpointIT > testServlet FAILED
java.lang.AssertionError: HTTP GET failed expected:<200> but was:<404>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at io.openliberty.guides.hello.it.EndpointIT.testServlet(EndpointIT.java:42)

This was due to an already running Liberty server from working with another guide. The guides need to handle such situation better.

@yeekangc yeekangc changed the title Gradle build failed Need to handle running server/port conflict Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants