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 /tool/test/webrick/test_httpserver.rb | |
parent | a2839d717874a277da1d553336a409164fa833ad (diff) | |
download | ruby-1a63468831524f68e73cbb068071652c6486cfc6.tar.gz |
Prepare for removing RubyVM::JIT (#5262)
Diffstat (limited to 'tool/test/webrick/test_httpserver.rb')
-rw-r--r-- | tool/test/webrick/test_httpserver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/test/webrick/test_httpserver.rb b/tool/test/webrick/test_httpserver.rb index f905ff04e8..4133be85ad 100644 --- a/tool/test/webrick/test_httpserver.rb +++ b/tool/test/webrick/test_httpserver.rb @@ -253,7 +253,7 @@ class TestWEBrickHTTPServer < Test::Unit::TestCase server.virtual_host(WEBrick::HTTPServer.new(vhost_config)) Thread.pass while server.status != :Running - sleep 1 if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? # server.status behaves unexpectedly with --jit-wait + sleep 1 if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # server.status behaves unexpectedly with --jit-wait assert_equal(1, started, log.call) assert_equal(0, stopped, log.call) assert_equal(0, accepted, log.call) |