From c7b58831a3dd9982fcc718515ca0306200acda30 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 20 Sep 2011 01:23:33 +0000 Subject: Explicitly close the tcp connection. Without this, the connection will be alive without GC after exit the block and the test will fail as "TCPServer was closed and SSLServer is still alive" on 64bit Unix: at least CentOS, Ubuntu, and FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/openssl/test_ssl.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/openssl') diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index 8811e39c91..b598648602 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -212,6 +212,7 @@ tddwpBAEDjcwMzA5NTYzMTU1MzAwpQMCARM= ssl.session = session assert_equal session, ssl.session + sock.close } end -- cgit v1.2.3