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:
parent
0a4f719a06
commit
30f1316401
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue