Closed
Description
I executed the CI on the latest master branch commit 73b866d. And I see the following cases fail with the following error.
- ubuntu-latest head
- macos-latest head
- windows-latest head
- windows-latest ucrt
https://github.com/junaruga/ruby-openssl/actions/runs/15421592467/job/43397863260
1) Error: test_ractor(OpenSSL::TestBN): NoMethodError: undefined method 'take' for an instance of Ractor
/home/runner/work/ruby-openssl/ruby-openssl/test/openssl/test_bn.rb:351:in 'OpenSSL::TestBN#test_ractor'
348: if respond_to?(:ractor)
349: ractor
350: def test_ractor
=> 351: assert_equal(@e1, Ractor.new { OpenSSL::BN.new("999") }.take)
352: assert_equal(@e3, Ractor.new { OpenSSL::BN.new("\a\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF", 2) }.take)
353: assert_equal("999", Ractor.new(@e1) { |e1| e1.to_s }.take)
354: assert_equal("07FFFFFFFFFFFFFFFFFFFFFFFFFF", Ractor.new(@e3) { |e3| e3.to_s(16) }.take)
Error: NoMethodError: undefined method 'take' for an instance of Ractor
/home/runner/work/ruby-openssl/ruby-openssl/test/openssl/test_bn.rb:351:in 'OpenSSL::TestBN#test_ractor'
It seems that the the Ractor#take
was removed at the commit ruby/ruby@ef2bb61.
The ruby/prism fixed such an issue at the commit ruby/prism@f5ded51.
Metadata
Metadata
Assignees
Labels
No labels