From a8e51d1bd1a38c91cb990bc95c6b120d0eb517d5 Mon Sep 17 00:00:00 2001 From: John Cai Date: Tue, 21 May 2019 12:41:22 -0700 Subject: Disable catfile cache in tests --- spec/spec_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 69589c9aa33..a0501590fab 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -122,6 +122,7 @@ RSpec.configure do |config| config.before do |example| # Enable all features by default for testing allow(Feature).to receive(:enabled?) { true } + allow(Feature).to receive(:enabled?).with('gitaly_catfile-cache').and_return(false) enabled = example.metadata[:enable_rugged].present? -- cgit v1.2.1