Merge pull request #16760 from Homebrew/clear-taps-between-test-runs-again

test: clear tap instance caches between test runs again
This commit is contained in:
Kevin 2024-02-27 20:10:32 -08:00 committed by GitHub
commit ece7e5d5b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,6 +204,7 @@ RSpec.configure do |config|
config.around do |example|
Homebrew.raise_deprecation_exceptions = true
Tap.each(&:clear_cache)
Cachable::Registry.clear_all_caches
FormulaInstaller.clear_attempted
FormulaInstaller.clear_installed