From 5544243c4103a23c0bf036d41c77fb15eb5d4933 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Thu, 20 Jun 2024 19:33:06 -0500 Subject: [PATCH] test_https.rb - fix test_session_reuse_but_expire --- test/net/http/test_https.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index cf297f3..c0d66ba 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -167,18 +167,16 @@ def test_session_reuse def test_session_reuse_but_expire # FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h. omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 1.1.0h') - omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 3.2.') - omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 3.3.') http = Net::HTTP.new(HOST, config("port")) http.use_ssl = true http.cert_store = TEST_STORE - http.ssl_timeout = -1 + http.ssl_timeout = 1 http.start http.get("/") http.finish - + sleep 1.25 http.start http.get("/")