diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index e700e53e3..5082dadd1 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -2325,12 +2325,12 @@ def test_export_keying_material end end - # OpenSSL::Buffering requires $/ accessible from non-main Ractors (Ruby 3.5) + # OpenSSL::Buffering requires $/ accessible from non-main Ractors (Ruby 4.0) # https://bugs.ruby-lang.org/issues/21109 # # Hangs on Windows # https://bugs.ruby-lang.org/issues/21537 - if respond_to?(:ractor) && RUBY_VERSION >= "3.5" && RUBY_PLATFORM !~ /mswin|mingw/ + if respond_to?(:ractor) && RUBY_VERSION >= "4.0" && RUBY_PLATFORM !~ /mswin|mingw/ ractor def test_ractor_client start_server { |port|