diff options
| author | NARUSE, Yui <nurse@users.noreply.github.com> | 2024-02-03 22:35:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-03 13:35:44 +0000 |
| commit | 45064610725ddd81a5ea3775da35aa46985bc789 (patch) | |
| tree | 1c767d3436b4e80a416c02bb7cff90fdb5268082 /test | |
| parent | 3fb51b93d25b0566b71249b1c7ccddf0dab91429 (diff) | |
Fix test session reuse but expire (#9824)
* Show OpenSSL version in the error message of assert_equal
* OpenSSL 3.2.1 30 Jan 2024 is also broken
Diffstat (limited to 'test')
| -rw-r--r-- | test/net/http/test_https.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index 89d500118d..6b3171d265 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -167,7 +167,7 @@ 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.0') + omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 3.2.') http = Net::HTTP.new(HOST, config("port")) http.use_ssl = true @@ -182,7 +182,7 @@ class TestNetHTTPS < Test::Unit::TestCase http.get("/") socket = http.instance_variable_get(:@socket).io - assert_equal false, socket.session_reused? + assert_equal false, socket.session_reused?, "NOTE: OpenSSL library version is #{OpenSSL::OPENSSL_LIBRARY_VERSION}" http.finish end |
