Skip to content

Commit 77911d9

Browse files
authored
Merge pull request #67 from ruby/omit-windows
Omit Windows and MinGW platforms with with_udp_and_tcp
2 parents e906978 + 05765df commit 77911d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/resolv/test_dns.rb

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ def with_udp_and_tcp(host, port)
8383
# See: https://stackoverflow.com/questions/48478869/cannot-bind-to-some-ports-due-to-permission-denied
8484
retries_remaining -= 1
8585
retry if retries_remaining > 0
86+
# Windows and MinGW CI can't bind to the same port with ten retries.
87+
omit if /mswin|mingw/ =~ RUBY_PLATFORM
8688
raise
8789
end
8890

0 commit comments

Comments
 (0)