-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Configurable server port for the vertx test using HttpTestBase.DEFAULT_HTTP_PORT #4991
Configurable server port for the vertx test using HttpTestBase.DEFAULT_HTTP_PORT #4991
Conversation
Hi @vietj and @tsegismont, |
a647d44
to
fbea9f7
Compare
we should also do the same for the HTTPS port |
8ebc68a
to
546d65d
Compare
546d65d
to
be65e02
Compare
@vietj the changes requested have been applied and ready for review. |
will have a look soon, can you prepare a backport PR for vert 4.x branch @percyashu ? |
@vietj I don't quite understand how to do a backport PR but I am willing to prepare it with some explanation. |
actually never mind, there is already a pull request there. |
as said in the other PR, can you just revert the tests that actually tests objects (like HostAndPortTest) that do not use a real server ? that is preferable. |
thanks, I will merge that tomorrow |
Motivation: discussion
HttpTestBase.DEFAULT_HTTP_PORT could be loaded from a system property or be 8080 when there is no such system property. So it can be used instead of hard coding port 8080 in tests.
Conformance:
You should have signed the Eclipse Contributor Agreement as explained in https://github.com/eclipse/vert.x/blob/master/CONTRIBUTING.md
Please also make sure you adhere to the code style guidelines: https://github.com/vert-x3/wiki/wiki/Vert.x-code-style-guidelines