diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-02-25 17:06:01 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-11-30 20:54:05 +0900 |
commit | d7f6cb0f780a5a48b5d4a937f93d876a90697fc0 (patch) | |
tree | ce66c358afff60abe4ff06f473e92c07f8bffc65 /test | |
parent | 2b1f0487142419b2f45c815b3c4c4ba0bda5d13f (diff) |
[rubygems/rubygems] Revert "Remove spec file before building"
This reverts commit af604436d8141c34cb2e1e645b9b0d47bfd55a55.
The issue that led to introducing it was never reproduced. I tried to
repro with this patch and it still works just fine. Since this removal
is getting in the middle for some race conditions I'm facing, I'm
reverting the patch.
https://github.com/rubygems/rubygems/commit/2dd267f0e4
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_gem_installer.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb index 77652909c1..8874577aa8 100644 --- a/test/rubygems/test_gem_installer.rb +++ b/test/rubygems/test_gem_installer.rb @@ -948,7 +948,6 @@ gem 'other', version Gem.pre_install do assert_path_not_exist cache_file, 'cache file must not exist yet' - assert_path_not_exist spec_file, 'spec file must not exist yet' true end @@ -956,13 +955,11 @@ gem 'other', version assert_path_exist gemdir, 'gem install dir must exist' assert_path_exist rakefile, 'gem executable must exist' assert_path_not_exist stub_exe, 'gem executable must not exist' - assert_path_not_exist spec_file, 'spec file must not exist yet' true end Gem.post_install do assert_path_exist cache_file, 'cache file must exist' - assert_path_exist spec_file, 'spec file must exist' end @newspec = nil |