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

tests: fix unused_port #4675

Merged
merged 1 commit into from
Oct 21, 2024
Merged

tests: fix unused_port #4675

merged 1 commit into from
Oct 21, 2024

Conversation

Watson1978
Copy link
Contributor

Which issue(s) this PR fixes:
Fixes #4674

What this PR does / why we need it:
It obtains unused port number for TCP by unused_port method and the number has been used in UDP.
And that number may be already used by UDP sockets.

This patch will obtain and use unused ports appropriately for each protocol.

Docs Changes:

Release Note:

It obtains unused port number for TCP by unused_port method and the number has been used in UDP.
And that number may be already used by UDP sockets.
This patch will obtain and use unused ports appropriately for each protocol.

Signed-off-by: Watson <[email protected]>
@Watson1978 Watson1978 requested a review from daipom October 20, 2024 08:32
@ashie ashie merged commit d1a58fd into fluent:master Oct 21, 2024
14 of 16 checks passed
@ashie
Copy link
Member

ashie commented Oct 21, 2024

Thanks!

@Watson1978 Watson1978 deleted the test-bind branch October 21, 2024 23:34
@kenhys kenhys mentioned this pull request Nov 28, 2024
@daipom daipom added the backport to LTS We will backport this fix to the LTS branch label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport to LTS We will backport this fix to the LTS branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: Fails with "Errno::EACCES: Permission denied - bind(2)" on Windows
3 participants