diff options
Diffstat (limited to 'test/openssl/test_ssl_session.rb')
-rw-r--r-- | test/openssl/test_ssl_session.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/openssl/test_ssl_session.rb b/test/openssl/test_ssl_session.rb index 69a3a0d876..88acbda90e 100644 --- a/test/openssl/test_ssl_session.rb +++ b/test/openssl/test_ssl_session.rb @@ -41,6 +41,7 @@ tddwpBAEDjcwMzA5NTYzMTU1MzAwpQMCARM= end def test_session + timeout(5) do start_server(PORT, OpenSSL::SSL::VERIFY_NONE, true) do |server, port| sock = TCPSocket.new("127.0.0.1", port) ctx = OpenSSL::SSL::SSLContext.new("TLSv1") @@ -68,6 +69,7 @@ tddwpBAEDjcwMzA5NTYzMTU1MzAwpQMCARM= assert_not_nil(session.to_text) ssl.close end + end end DUMMY_SESSION = <<__EOS__ |