diff options
| author | MSP-Greg <Greg.mpls@gmail.com> | 2024-06-20 19:33:06 -0500 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-11-20 10:18:27 +0900 |
| commit | 5232e3ce3cdd69f9afaf5d34370f6ef3c84e4930 (patch) | |
| tree | 7938a41627039dbc0bc5e9d70581930b8c61c16f | |
| parent | c78721f718d1004182b36a6610d32b1a158808be (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 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index 86f6c00bbb..c0d66ba354 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -167,19 +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.') - omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM 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("/") |
