Skip to content

One less listen address race#5718

Merged
mergify[bot] merged 1 commit intosigp:unstablefrom
michaelsproul:watch-port-zero
May 6, 2024
Merged

One less listen address race#5718
mergify[bot] merged 1 commit intosigp:unstablefrom
michaelsproul:watch-port-zero

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

@mergify
Copy link

mergify bot commented May 6, 2024

queue

✅ The pull request has been merged automatically

Details

The pull request has been merged automatically at fe20ef9

@mergify mergify bot merged commit fe20ef9 into sigp:unstable May 6, 2024
@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