summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-09-05 09:15:30 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-09-05 14:37:12 +0900
commit3eca1e438db6fabaa7cd5e5a7120da147ac0ec26 (patch)
tree597be042af7d0052616ba41bb9d0b8d8ceedd094 /test
parent3767c6a90d8970f9b39e9ed116a7b9bbac3f9f26 (diff)
Merge https://github.com/rubygems/rubygems/commit/16c3535413afebcdbab7582c6017c27b5da8a8dc
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6326
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/helper.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index e569986ef2..258107bf04 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -463,14 +463,7 @@ class Gem::TestCase < Test::Unit::TestCase
Dir.chdir @current_dir
- # Prevent a race condition on removing TMPDIR being written by MJIT
- if defined?(RubyVM::MJIT.enabled?) && RubyVM::MJIT.enabled?
- RubyVM::MJIT.pause(wait: false)
- end
FileUtils.rm_rf @tempdir
- if defined?(RubyVM::MJIT.enabled?) && RubyVM::MJIT.enabled?
- RubyVM::MJIT.resume
- end
ENV.replace(@orig_env)