Skip to content

test_dns: Fix failure on Windows #58

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

Merged
merged 4 commits into from
Aug 13, 2024
Merged

test_dns: Fix failure on Windows #58

merged 4 commits into from
Aug 13, 2024

Conversation

sorah
Copy link
Member

@sorah sorah commented Aug 13, 2024

sorah added 4 commits August 14, 2024 07:27
this should be fine, as it must give different host:port pair.

- follow-up: #50
- follow-up: 6252914
@sorah sorah merged commit 0a0d57e into master Aug 13, 2024
50 checks passed
@sorah sorah deleted the fu50 branch August 13, 2024 23:13
matzbot pushed a commit to ruby/ruby that referenced this pull request Aug 13, 2024
(ruby/resolv#58)

test_dns: Fix failure on Windows

1. Switch to #with_udp_and_tcp helper method for EACCES retries on Windows;
   the given UDP socket is unnecessary though.
2. Using 127.0.0.1 should be fine, as it must give different host:port pair.
3. On Windows, 5 retries of bind(2) appears still flaky, doubling it for sure.

follow-up: ruby/resolv#50
follow-up: ruby/resolv@6252914

ruby/resolv@0a0d57e369
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.

1 participant