summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-05 17:34:25 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-05 18:21:44 +0900
commit3bd9adadbe0b500cf7e910c99db97aaddfba3369 (patch)
tree5ae379c1205baf044cc4dfa56b9c8cade08dd213 /test
parent671fd2a6323ab1b11fe2ba672ad22b7d3e87945e (diff)
Bump up net-http to 0.4.1
Diffstat (limited to 'test')
-rw-r--r--test/net/http/test_httpresponse.rb4
-rw-r--r--test/net/http/test_https.rb1
2 files changed, 3 insertions, 2 deletions
diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb
index 5c48a48e0c..01281063cd 100644
--- a/test/net/http/test_httpresponse.rb
+++ b/test/net/http/test_httpresponse.rb
@@ -312,8 +312,8 @@ EOS
end
def test_read_body_block_mod
- # http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3019353
- if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
+ # http://ci.rvm.jp/results/trunk-rjit-wait@silicon-docker/3019353
+ if defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled?
omit 'too unstable with --jit-wait, and extending read_timeout did not help it'
end
IO.pipe do |r, w|
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index 2fb895a8ae..89d500118d 100644
--- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb
@@ -167,6 +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')
http = Net::HTTP.new(HOST, config("port"))
http.use_ssl = true