diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-02-13 15:59:16 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-02-13 18:01:03 +0900 |
| commit | 4a67ef09ccd703047552b740431cfe15e32451f4 (patch) | |
| tree | 1092e15836655fde8935c7788eb0a411e8c9ca42 /test/socket | |
| parent | d35cc0cc772b48c5aaba354e7084278da68f44e4 (diff) | |
[Feature #21116] Extract RJIT as a third-party gem
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12740
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 27e60b3335..b15cf63297 100644 --- a/test/socket/test_socket.rb +++ b/test/socket/test_socket.rb @@ -489,7 +489,7 @@ class TestSocket < Test::Unit::TestCase end while IO.select([r], nil, nil, 0.1).nil? n end - timeout = (defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled? ? 120 : 30) # for --jit-wait + timeout = 30 assert_equal([[s1],[],[]], IO.select([s1], nil, nil, timeout)) msg, _, _, stamp = s1.recvmsg assert_equal("a", msg) |
