1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Close sockets.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-05-30 14:28:44 +00:00
parent bf6c098d04
commit 60cb6f6eaa
2 changed files with 3 additions and 0 deletions

View file

@ -79,6 +79,7 @@ class TestCookie < Test::Unit::TestCase
setup_http_server
do_test
ensure
@s.http.finish
stop_server
end
end

View file

@ -75,12 +75,14 @@ class Test_Webrick < Test::Unit::TestCase
silent do
do_test
end
@s.http.finish
@s = XMLRPC::Client.new3(:host => addr.ip_address, :port => addr.ip_port, :use_ssl => use_ssl)
@s.user = '01234567890123456789012345678901234567890123456789012345678901234567890123456789'
@s.password = 'guest'
silent do
do_test
end
@s.http.finish
ensure
stop_server
end