Revert "test_gem_remote_fetcher.rb: give up testing MJIT here"
This reverts commit d12bcfc186f2aea5e83f2f59716958ea12b5c937. pause on --jit-wait looks not working... I'll fix that first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
38f7bb481e
commit
655257273a
@ -124,13 +124,9 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
||||
Gem::RemoteFetcher.fetcher = nil
|
||||
@stub_ui = Gem::MockGemUi.new
|
||||
@fetcher = Gem::RemoteFetcher.fetcher
|
||||
|
||||
RubyVM::MJIT.pause(wait: false) if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # sometimes timeout is too short for --jit-wait, but remote_fetcher can't configure timeout
|
||||
end
|
||||
|
||||
def teardown
|
||||
RubyVM::MJIT.resume if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # enable testing again
|
||||
|
||||
@fetcher.close_all
|
||||
self.class.stop_servers
|
||||
super
|
||||
|
Loading…
x
Reference in New Issue
Block a user