Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2019-07-11 00:36:49 +0300
committerJohn Cai <jcai@gitlab.com>2019-07-16 23:54:01 +0300
commit8765d537373679ccbb219ee400c277384972c742 (patch)
tree1e3da00083accf8077e55731ef9904c0fdd09075 /spec/lib/gitlab/cache
parent3d9dc7dbf846f693c8c38667388950d7a14c2f0a (diff)
Wrap rugged calls with access disk block
Whenever we use the rugged implementation, we are going straight to disk so we want to bypass the disk access check.
Diffstat (limited to 'spec/lib/gitlab/cache')
-rw-r--r--spec/lib/gitlab/cache/ci/project_pipeline_status_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/lib/gitlab/cache/ci/project_pipeline_status_spec.rb b/spec/lib/gitlab/cache/ci/project_pipeline_status_spec.rb
index 972dd7e0d2b..483c5ea9cff 100644
--- a/spec/lib/gitlab/cache/ci/project_pipeline_status_spec.rb
+++ b/spec/lib/gitlab/cache/ci/project_pipeline_status_spec.rb
@@ -26,7 +26,6 @@ describe Gitlab::Cache::Ci::ProjectPipelineStatus, :clean_gitlab_redis_cache do
end
it 'loads 10 projects without hitting Gitaly call limit', :request_store do
- allow(Gitlab::GitalyClient).to receive(:can_access_disk?).and_return(false)
projects = Gitlab::GitalyClient.allow_n_plus_1_calls do
(1..10).map { create(:project, :repository) }
end