fixup 8cd6f2a0872e74c6cc089d2a4f8140483080c67a
we should handle ensure block when omit this test
This commit is contained in:
parent
d5752f73d2
commit
bfa6d0f6d7
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user