diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2021-12-13 23:07:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 23:07:46 -0800 |
commit | 1a63468831524f68e73cbb068071652c6486cfc6 (patch) | |
tree | 37cb7808878786d426815c6b137da9ee2ca08e29 /test/socket | |
parent | a2839d717874a277da1d553336a409164fa833ad (diff) |
Prepare for removing RubyVM::JIT (#5262)
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'test/socket')
-rw-r--r-- | test/socket/test_socket.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb index 16c359eca1..7e596f0299 100644 --- a/test/socket/test_socket.rb +++ b/test/socket/test_socket.rb @@ -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) |