Skip to content

Commit 2b3a89a

Browse files
hsbtclaude
authored andcommitted
[ruby/rubygems] Clear BUNDLE_COOLDOWN for the RubyGems test suite
Cooldown resolution reads Bundler's settings now, so a developer with one configured in their shell saw it applied to the fixtures: four install command tests and two update command tests failed under BUNDLE_COOLDOWN=60. ruby/rubygems@42e80d83ba Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 8c22dc4 commit 2b3a89a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/rubygems/helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,9 @@ def setup
397397
ENV["BUNDLE_CONFIG"] = nil
398398
ENV["BUNDLE_USER_CONFIG"] = nil
399399
ENV["BUNDLE_USER_HOME"] = nil
400+
# Cooldown resolution reads Bundler's settings, so a developer running the
401+
# suite with one configured would otherwise see it applied to the fixtures.
402+
ENV["BUNDLE_COOLDOWN"] = nil
400403
ENV["RUBYGEMS_PREVENT_UPDATE_SUGGESTION"] = "true"
401404

402405
@current_dir = Dir.pwd

0 commit comments

Comments
 (0)