diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-20 20:12:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-20 20:12:55 +0300 |
commit | 9a0a7cc08d1cb8f317838434baeb4ecc90661606 (patch) | |
tree | 0f5577fc060c10af2e2a664c9178e7d951382690 /spec | |
parent | 4f1a71c63c2fb91c40a069f21521bb1e180c0594 (diff) |
Add latest changes from gitlab-org/gitlab@16-6-stable-ee
Diffstat (limited to 'spec')
-rw-r--r-- | spec/tooling/danger/stable_branch_spec.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/spec/tooling/danger/stable_branch_spec.rb b/spec/tooling/danger/stable_branch_spec.rb index a33788f54f2..472fbc54e80 100644 --- a/spec/tooling/danger/stable_branch_spec.rb +++ b/spec/tooling/danger/stable_branch_spec.rb @@ -251,6 +251,31 @@ RSpec.describe Tooling::Danger::StableBranch, feature_category: :delivery do end end + context 'with multiple package-and-test pipelines' do + let(:pipeline_bridges_response) do + [ + { + 'name' => 'e2e:package-and-test-ee', + 'status' => 'success', + 'downstream_pipeline' => { + 'id' => '123', + 'status' => package_and_qa_state + } + }, + { + 'name' => 'follow-up-e2e:package-and-test-ee', + 'status' => 'failed', + 'downstream_pipeline' => { + 'id' => '456', + 'status' => 'failed' + } + } + ] + end + + it_behaves_like 'without a failure' + end + context 'when the version API request fails' do let(:response_success) { false } |