Skip to content

Commit 922bc9f

Browse files
authored
Update test_dns.rb
1 parent 3ddb9b3 commit 922bc9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/resolv/test_dns.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -709,8 +709,8 @@ def test_multiple_servers_with_timeout_and_truncated_tcp_fallback
709709
num_records = 50
710710

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

0 commit comments

Comments
 (0)