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

Random port configuration of port in tests #2269

Closed
lordofthejars opened this issue Apr 29, 2019 · 3 comments · Fixed by #4140
Closed

Random port configuration of port in tests #2269

lordofthejars opened this issue Apr 29, 2019 · 3 comments · Fixed by #4140
Assignees
Milestone

Comments

@lordofthejars
Copy link
Contributor

Currently, there is one property called quarkus.http.test-port where you can set the port number where to start the Quarkus server, but we should provide a special char for setting a random private port (49152 through 65535)

I purpose something like quarkus.http.test-port=$

This is important for allowing the system to execute tests in parallel.

If agrees I can send a PR.

@starksm64
Copy link
Contributor

Just use 0 as that is the normal linux way of binding to a system defined random port and could just work on many systems.

@lordofthejars
Copy link
Contributor Author

Ok, then please assign me this issue and when I finish my current Quarkus issue, I'll start working on it.

@gastaldi
Copy link
Contributor

I gave a shot at this and implemented #4140. I'd appreciate a review ;)

@gsmet gsmet added this to the 0.24.0 milestone Oct 8, 2019
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

Successfully merging a pull request may close this issue.

4 participants