Skip to content

Commit

Permalink
Update test_dns.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
sorah authored Aug 13, 2024
1 parent 3ddb9b3 commit 922bc9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/resolv/test_dns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -709,8 +709,8 @@ def test_multiple_servers_with_timeout_and_truncated_tcp_fallback
num_records = 50

with_udp_and_tcp('127.0.0.1', 0) do |u1, t1|
# XXX: _u2 UDP socket is not used, but using #with_udp_and_tcp to enable Windows EACCES workaround
with_udp_and_tcp('127.0.0.1', 0) do |_u2,t2|
with_udp_and_tcp('127.0.0.1', 0) do |u2,t2|
u2.close # XXX: u2 UDP socket is not used, but using #with_udp_and_tcp to enable Windows EACCES workaround
_, server1_port, _, server1_address = u1.addr
_, server2_port, _, server2_address = t2.addr

Expand Down

0 comments on commit 922bc9f

Please sign in to comment.