summaryrefslogtreecommitdiff
path: root/tests/fixtures/layouts
diff options
context:
space:
mode:
authorJames E. Blair <jim@acmegating.com>2022-04-21 09:45:37 -0700
committerJames E. Blair <jim@acmegating.com>2022-04-21 09:55:17 -0700
commitdd0135baa51cdf21a18831926c04227caa060878 (patch)
tree209eafd4aadd803a3a88db5a9f76bb2491aca69c /tests/fixtures/layouts
parent8582dac3ade1959c39510449b2872590a4d5b654 (diff)
downloadzuul-dd0135baa51cdf21a18831926c04227caa060878.tar.gz
Don't report NO_JOBS to the database5.2.4
A recent change to report additional buildset results to the db inadvertently also reported NO_JOBS results. We should not report those as they are frequent and uninteresting. Special case them and add a test. Change-Id: Ic7502bd53e2a51d1cc178834344e01cd2a5942db
Diffstat (limited to 'tests/fixtures/layouts')
-rw-r--r--tests/fixtures/layouts/no-jobs-reporting.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/fixtures/layouts/no-jobs-reporting.yaml b/tests/fixtures/layouts/no-jobs-reporting.yaml
new file mode 100644
index 000000000..ec7939e1d
--- /dev/null
+++ b/tests/fixtures/layouts/no-jobs-reporting.yaml
@@ -0,0 +1,20 @@
+- pipeline:
+ name: check
+ manager: independent
+ trigger:
+ gerrit:
+ - event: patchset-created
+ success:
+ gerrit:
+ Verified: 1
+ failure:
+ gerrit:
+ Verified: -1
+ start:
+ gerrit:
+ Verified: 0
+
+- project:
+ name: org/project
+ check:
+ jobs: []