summaryrefslogtreecommitdiff
path: root/spec/controllers/projects/pipelines_controller_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-05 12:07:43 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-05 12:07:43 +0000
commit872319738757edc0483346c75a2407f7019b963f (patch)
treed5953edec6184dda1f53c5994c3ebcebc9e815a2 /spec/controllers/projects/pipelines_controller_spec.rb
parent8f764d21b0011056e1492d92afe3bd40b847b9f7 (diff)
downloadgitlab-ce-872319738757edc0483346c75a2407f7019b963f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/projects/pipelines_controller_spec.rb')
-rw-r--r--spec/controllers/projects/pipelines_controller_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/controllers/projects/pipelines_controller_spec.rb b/spec/controllers/projects/pipelines_controller_spec.rb
index 3c7f69f0e6e..b4549e4e635 100644
--- a/spec/controllers/projects/pipelines_controller_spec.rb
+++ b/spec/controllers/projects/pipelines_controller_spec.rb
@@ -93,7 +93,7 @@ describe Projects::PipelinesController do
end
context 'when performing gitaly calls', :request_store do
- it 'limits the Gitaly requests', :sidekiq_might_not_need_inline do
+ it 'limits the Gitaly requests' do
# Isolate from test preparation (Repository#exists? is also cached in RequestStore)
RequestStore.end!
RequestStore.clear!
@@ -101,8 +101,9 @@ describe Projects::PipelinesController do
expect(::Gitlab::GitalyClient).to receive(:allow_ref_name_caching).and_call_original
+ # ListCommitsByOid, RepositoryExists, HasLocalBranches
expect { get_pipelines_index_json }
- .to change { Gitlab::GitalyClient.get_request_count }.by(2)
+ .to change { Gitlab::GitalyClient.get_request_count }.by(3)
end
end