aboutsummaryrefslogtreecommitdiffstats
path: root/tool/test/webrick/test_httpserver.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2021-12-13 23:07:46 -0800
committerGitHub <noreply@github.com>2021-12-13 23:07:46 -0800
commit1a63468831524f68e73cbb068071652c6486cfc6 (patch)
tree37cb7808878786d426815c6b137da9ee2ca08e29 /tool/test/webrick/test_httpserver.rb
parenta2839d717874a277da1d553336a409164fa833ad (diff)
downloadruby-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.rb2
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)