summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorSorah Fukumori <her@sorah.jp>2024-08-14 08:13:06 +0900
committergit <svn-admin@ruby-lang.org>2024-08-13 23:13:10 +0000
commitb20957bdfeaafcc6f842a3f427d1895b0325f62a (patch)
tree1ff3a8b6833c2041b4c65969e8038c0b7abf80f2 /test/ruby
parent094e53360d3e2537339997606eaa45f37a375f18 (diff)
[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: https://github.com/ruby/resolv/commit/6252914e95dfdf8995d8074df6cafe6f0a76c1ca https://github.com/ruby/resolv/commit/0a0d57e369
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions