summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-01-13 11:27:30 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-01-13 11:27:30 +0900
commit30f13164011dd876fd95a0e3fcd7c1224c4e04b5 (patch)
tree93b57d5ca1083856d2e033ffc4575110ca9ed6e3 /test
parent0a4f719a06df15667f0ed329b9ed556befd0402b (diff)
Skip test when UDP server is no response.
Diffstat (limited to 'test')
-rw-r--r--test/socket/test_socket.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index b5be0c7cf3..49587dc244 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -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