ruby-changes:64850
From: Hiroshi <ko1@a...>
Date: Wed, 13 Jan 2021 11:39:54 +0900 (JST)
Subject: [ruby-changes:64850] 30f1316401 (master): Skip test when UDP server is no response.
https://git.ruby-lang.org/ruby.git/commit/?id=30f1316401 From 30f13164011dd876fd95a0e3fcd7c1224c4e04b5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Wed, 13 Jan 2021 11:27:30 +0900 Subject: Skip test when UDP server is no response. diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb index b5be0c7..49587dc 100644 --- a/test/socket/test_socket.rb +++ b/test/socket/test_socket.rb @@ -430,6 +430,9 @@ class TestSocket < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/socket/test_socket.rb#L430 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/