1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
we should handle ensure block when omit this test
This commit is contained in:
Hiroshi SHIBATA 2022-09-07 09:41:28 +09:00
parent d5752f73d2
commit bfa6d0f6d7
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -562,8 +562,6 @@ class TestSocket < Test::Unit::TestCase
end
def test_closed_read
omit if RUBY_PLATFORM.include?("freebsd")
require 'timeout'
require 'socket'
bug4390 = '[ruby-core:35203]'
@ -585,7 +583,7 @@ class TestSocket < Test::Unit::TestCase
ensure
serv_thread.value.close
server.close
end
end unless RUBY_PLATFORM.include?("freebsd")
def test_connect_timeout
host = "127.0.0.1"