ruby/test/resolv
Sorah Fukumori b20957bdfe [ruby/resolv] test_dns: Fix failure on Windows
(https://github.com/ruby/resolv/pull/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: https://github.com/ruby/resolv/pull/50
follow-up: 6252914e95

https://github.com/ruby/resolv/commit/0a0d57e369
2024-08-13 23:13:10 +00:00
..
test_addr.rb [ruby/resolv] Support more characters in link local addresses 2022-01-12 10:49:57 +09:00
test_dns.rb [ruby/resolv] test_dns: Fix failure on Windows 2024-08-13 23:13:10 +00:00
test_mdns.rb
test_resource.rb [ruby/resolv] Implement CAA resource record 2024-02-29 20:55:26 +00:00
test_svcb_https.rb [ruby/resolv] Implement dohpath SvcParam 2023-11-24 01:42:08 +00:00