diff options
author | MSP-Greg <[email protected]> | 2024-06-20 19:33:06 -0500 |
---|---|---|
committer | git <[email protected]> | 2024-07-11 01:22:10 +0000 |
commit | 9f4b45fbf7981a57fd82436ebec8a50ec3d3fdc9 (patch) | |
tree | 906551e0e72e589bb30563ea652c4a5d85c4c2fa | |
parent | d605fb54cf7ec8bb6ee5ca7843980f710d1fdb5a (diff) |
[ruby/net-http] test_https.rb - fix test_session_reuse_but_expire
https://github.com/ruby/net-http/commit/5544243c41
-rw-r--r-- | test/net/http/test_https.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index 534ca2ceac..cbeed53588 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -167,18 +167,16 @@ class TestNetHTTPS < Test::Unit::TestCase 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("/") |