зеркало из https://github.com/github/ruby.git
b20957bdfe
(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:
|
||
---|---|---|
.. | ||
test_addr.rb | ||
test_dns.rb | ||
test_mdns.rb | ||
test_resource.rb | ||
test_svcb_https.rb |