aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-08-27 15:47:18 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2022-08-27 15:47:18 -0700
commit111b69e8a009f469356a723183b651626dbaa8c4 (patch)
tree3ea3fe16e53c7a07942d2bd9b15ba1e97ad3a3df /test
parent83375f47e111a254e523ba462364390937eeef07 (diff)
downloadruby-111b69e8a009f469356a723183b651626dbaa8c4.tar.gz
Pass wait: false to avoid a timeout
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index 4e92ae827e..37e113d3fc 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -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?