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:
parent
83375f47e1
commit
111b69e8a0
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue