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

One less listen address race #5718

Merged
merged 1 commit into from
May 6, 2024
Merged

Conversation

michaelsproul
Copy link
Member

Issue Addressed

Fix some port reuse failures in the watch tests, e.g. https://github.com/sigp/lighthouse/actions/runs/8962018242/job/24610283078

Proposed Changes

Listen on port 0 for the watch HTTP server.

Additional Info

We can't fully solve the port reuse races in the watch tests because it's hard to read the listen address from an external process (postgres) listening on port 0. Still, this PR should improve things a little.

@michaelsproul michaelsproul added test improvement Improve tests ready-for-review The code is ready for review v5.2.0 Q2 2024 labels May 6, 2024
Copy link
Member

@jimmygchen jimmygchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels May 6, 2024
@michaelsproul
Copy link
Member Author

@Mergifyio queue

Copy link

mergify bot commented May 6, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at fe20ef9

@mergify mergify bot merged commit fe20ef9 into sigp:unstable May 6, 2024
27 checks passed
@michaelsproul michaelsproul deleted the watch-port-zero branch May 6, 2024 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge. test improvement Improve tests v5.2.0 Q2 2024
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants