Add a test for changes that trigger multiple pipelines.
Change-Id: I147491d2c08fa1040f41f0c299113e3eb8968252
Reviewed-on: https://review.openstack.org/29158
Reviewed-by: Antoine Musso <hashar@free.fr>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
diff --git a/tests/fixtures/layout.yaml b/tests/fixtures/layout.yaml
index ecdd2da..ed36a18 100644
--- a/tests/fixtures/layout.yaml
+++ b/tests/fixtures/layout.yaml
@@ -37,6 +37,25 @@
approval:
- approved: 1
+ - name: dup1
+ manager: IndependentPipelineManager
+ trigger:
+ - event: change-restored
+ success:
+ verified: 1
+ failure:
+ verified: -1
+
+ - name: dup2
+ manager: IndependentPipelineManager
+ trigger:
+ - event: change-restored
+ success:
+ verified: 1
+ failure:
+ verified: -1
+
+
jobs:
- name: ^.*-merge$
failure-message: Unable to merge change
@@ -68,6 +87,10 @@
- project-testfile
post:
- project-post
+ dup1:
+ - project-test1
+ dup2:
+ - project-test1
- name: org/project1
check: