mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Prepare for removing RubyVM::JIT (#5262)
This commit is contained in:
parent
a2839d7178
commit
1a63468831
Notes:
git
2021-12-14 16:08:06 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>
32 changed files with 64 additions and 67 deletions
|
@ -486,7 +486,7 @@ class TestSocket < Test::Unit::TestCase
|
|||
end while IO.select([r], nil, nil, 0.1).nil?
|
||||
n
|
||||
end
|
||||
timeout = (defined?(RubyVM::JIT) && RubyVM::JIT.enabled? ? 120 : 30) # for --jit-wait
|
||||
timeout = (defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? ? 120 : 30) # for --jit-wait
|
||||
assert_equal([[s1],[],[]], IO.select([s1], nil, nil, timeout))
|
||||
msg, _, _, stamp = s1.recvmsg
|
||||
assert_equal("a", msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue