1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Skip test when UDP server is no response.

This commit is contained in:
Hiroshi SHIBATA 2021-01-13 11:27:30 +09:00
parent 0a4f719a06
commit 30f1316401
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -430,6 +430,9 @@ class TestSocket < Test::Unit::TestCase
rescue NotImplementedError, Errno::ENOSYS
skipped = true
skip "need sendmsg and recvmsg: #{$!}"
rescue RuntimeError
skipped = true
skip "UDP server is no response: #{$!}"
ensure
if th
if skipped