1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Pass wait: false to avoid a timeout

This commit is contained in:
Takashi Kokubun 2022-08-27 15:47:18 -07:00
parent 83375f47e1
commit 111b69e8a0
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -467,7 +467,7 @@ class Gem::TestCase < Test::Unit::TestCase
# Prevent a race condition on removing TMPDIR being written by MJIT
if defined?(RubyVM::MJIT.enabled?) && RubyVM::MJIT.enabled?
RubyVM::MJIT.pause
RubyVM::MJIT.pause(wait: false)
end
FileUtils.rm_rf @tempdir
if defined?(RubyVM::MJIT.enabled?) && RubyVM::MJIT.enabled?