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

bugfix: Retry test if socket was taken #1867

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Nov 22, 2022

It seems despite the randomness it can fail quite often, so instead we should retry.

Ideally we would specify 0 and use the system suggested port, but there is no way sensible way to propagate that to the tests.

@tgodzik tgodzik force-pushed the zero-port1 branch 2 times, most recently from dccea5c to f1152aa Compare November 22, 2022 14:17
@tgodzik tgodzik changed the title bugfix: Let the system pick the tcp port bugfix: Retry test if socket was taken Nov 22, 2022
It seems despite the randomness it can fail quite often, so instead we should let the sytem pick a free one.
@tgodzik tgodzik marked this pull request as ready for review November 23, 2022 12:38
@tgodzik tgodzik requested review from adpi2 and ckipp01 November 23, 2022 12:39
@tgodzik tgodzik merged commit ae651c7 into scalacenter:main Nov 23, 2022
@tgodzik tgodzik deleted the zero-port1 branch November 23, 2022 14:40
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.

None yet

2 participants