test: clear tap instance caches between test runs again
The core taps exist outside of the normal cache busting cycle so they need to clear explicitly at the instance level. Just to be sure we should clear all of them each time. This essentially reverts part of the change in this PR. - https://github.com/Homebrew/brew/pull/16746
This commit is contained in:
parent
f138059de1
commit
f2c5f6723c
@ -204,6 +204,7 @@ RSpec.configure do |config|
|
|||||||
config.around do |example|
|
config.around do |example|
|
||||||
Homebrew.raise_deprecation_exceptions = true
|
Homebrew.raise_deprecation_exceptions = true
|
||||||
|
|
||||||
|
Tap.each(&:clear_cache)
|
||||||
Cachable::Registry.clear_all_caches
|
Cachable::Registry.clear_all_caches
|
||||||
FormulaInstaller.clear_attempted
|
FormulaInstaller.clear_attempted
|
||||||
FormulaInstaller.clear_installed
|
FormulaInstaller.clear_installed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user