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

fix: fixed random port selection support #179

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

jansohn
Copy link
Contributor

@jansohn jansohn commented Oct 2, 2024

Short description of what this resolves:

Fixes the scenario with random / automatic port selection when starting the embedded Tomcat instance. Supersedes #116

Changes proposed in this pull request:

  • Allow using bindHttpPort=0 in configuration

Fixes: #115

@jansohn
Copy link
Contributor Author

jansohn commented Oct 2, 2024

I built and tested this locally and it fixed the problem when using bindHttpPort=0. Maybe we should adapt the tests to use that random port, too?

@rhusar
Copy link
Collaborator

rhusar commented Oct 2, 2024

Approved CI just now.

@rhusar rhusar self-assigned this Oct 2, 2024
@rhusar rhusar added this to the 1.2.2.Final milestone Oct 2, 2024
@rhusar rhusar merged commit 7b0d411 into arquillian:main Oct 2, 2024
12 checks passed
@rhusar
Copy link
Collaborator

rhusar commented Oct 2, 2024

LGTM, thanks @jansohn!

@rhusar
Copy link
Collaborator

rhusar commented Oct 2, 2024

I built and tested this locally and it fixed the problem when using bindHttpPort=0. Maybe we should adapt the tests to use that random port, too?

Yes - I will change that.

@rhusar
Copy link
Collaborator

rhusar commented Oct 2, 2024

I built and tested this locally and it fixed the problem when using bindHttpPort=0. Maybe we should adapt the tests to use that random port, too?

Yes - I will change that.

#181 should suffice. I don't think adding a new configuration to test static port is necessary.

@jansohn jansohn deleted the random-port-fix branch October 2, 2024 10:52
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 this pull request may close these issues.

2 participants