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

Stop trying to guess a port for Jetty in http-tests #1008

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Conversation

timyates
Copy link
Contributor

@timyates timyates commented Dec 7, 2023

This changes how we generate a port for Jetty in the http-tests. Previously we tried to guess one then tried to start jetty on it in a retry loop. After this change, we just let Jetty pick a port by assigning it 0.

This wasn't an issue in this module, but it has proved to be a source of flakiness in Azure, so I'm doing this for consistency

This changes how we generate a port for Jetty in the http-tests.
Previously we tried to guess one then tried to start jetty on it in a retry loop.
After this change, we just let Jetty pick a port by assigning it 0.

This wasn't an issue in this module, but it has proved to be a source of flakiness in Azure, so I'm doing this for consistency
@timyates timyates requested a review from sdelamo December 7, 2023 11:55
@timyates timyates self-assigned this Dec 7, 2023
Copy link

sonarcloud bot commented Dec 7, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

64.5% 64.5% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

timyates added a commit to micronaut-projects/micronaut-aws that referenced this pull request Dec 7, 2023
This gets rid of a load of code, and brings it in line with Azure and GCP

See micronaut-projects/micronaut-gcp#1008
And micronaut-projects/micronaut-azure#603
@sdelamo sdelamo merged commit 3994241 into master Dec 7, 2023
11 of 12 checks passed
@sdelamo sdelamo deleted the fix-server-port branch December 7, 2023 12:33
sdelamo pushed a commit to micronaut-projects/micronaut-aws that referenced this pull request Dec 7, 2023
This gets rid of a load of code, and brings it in line with Azure and GCP

See micronaut-projects/micronaut-gcp#1008
And micronaut-projects/micronaut-azure#603
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants