Commit 456e8019 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'fix-flaky-spec-on-create_cross_project_pipeline_worker' into 'master'

Fix flaky spec in create_cross_project_pipeline_worker_spec

Closes #9323

See merge request gitlab-org/gitlab-ee!9251
parents 197a0a19 adf6e3c0
...@@ -4,7 +4,7 @@ describe Ci::CreateCrossProjectPipelineWorker do ...@@ -4,7 +4,7 @@ describe Ci::CreateCrossProjectPipelineWorker do
set(:user) { create(:user) } set(:user) { create(:user) }
set(:project) { create(:project) } set(:project) { create(:project) }
set(:pipeline) { create(:ci_pipeline, project: project) } set(:pipeline) { create(:ci_pipeline, project: project) }
set(:bridge) { create(:ci_bridge, user: user, pipeline: pipeline) } let(:bridge) { create(:ci_bridge, user: user, pipeline: pipeline) }
let(:service) { double('pipeline creation service') } let(:service) { double('pipeline creation service') }
...@@ -27,7 +27,7 @@ describe Ci::CreateCrossProjectPipelineWorker do ...@@ -27,7 +27,7 @@ describe Ci::CreateCrossProjectPipelineWorker do
expect(Ci::CreateCrossProjectPipelineService) expect(Ci::CreateCrossProjectPipelineService)
.not_to receive(:new) .not_to receive(:new)
described_class.new.perform(123) described_class.new.perform(1234)
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment