Pass wait: false to avoid a timeout
This commit is contained in:
parent
83375f47e1
commit
111b69e8a0
@ -467,7 +467,7 @@ class Gem::TestCase < Test::Unit::TestCase
|
|||||||
|
|
||||||
# Prevent a race condition on removing TMPDIR being written by MJIT
|
# Prevent a race condition on removing TMPDIR being written by MJIT
|
||||||
if defined?(RubyVM::MJIT.enabled?) && RubyVM::MJIT.enabled?
|
if defined?(RubyVM::MJIT.enabled?) && RubyVM::MJIT.enabled?
|
||||||
RubyVM::MJIT.pause
|
RubyVM::MJIT.pause(wait: false)
|
||||||
end
|
end
|
||||||
FileUtils.rm_rf @tempdir
|
FileUtils.rm_rf @tempdir
|
||||||
if defined?(RubyVM::MJIT.enabled?) && RubyVM::MJIT.enabled?
|
if defined?(RubyVM::MJIT.enabled?) && RubyVM::MJIT.enabled?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user