summaryrefslogtreecommitdiff
path: root/scripts/verify-tff-mapping
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/verify-tff-mapping')
-rwxr-xr-xscripts/verify-tff-mapping14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/verify-tff-mapping b/scripts/verify-tff-mapping
index 302e50bf34f..08d9d7a33fd 100755
--- a/scripts/verify-tff-mapping
+++ b/scripts/verify-tff-mapping
@@ -188,6 +188,20 @@ tests = [
explanation: 'GLFM spec and config files for CE and EE should map to respective markdown snapshot specs',
source: 'glfm_specification/foo',
expected: ['spec/requests/api/markdown_snapshot_spec.rb', 'ee/spec/requests/api/markdown_snapshot_spec.rb']
+ },
+
+ {
+ explanation: 'https://gitlab.com/gitlab-org/quality/engineering-productivity/master-broken-incidents/-/issues/287#note_1192008962',
+ # Note: The metrics seem to be changed every year or so, so this test will fail once a year or so.
+ # You will need to change the metric below for another metric present in the project.
+ source: 'ee/config/metrics/counts_all/20221114065035_delete_merge_request.yml',
+ expected: ['ee/spec/config/metrics/every_metric_definition_spec.rb']
+ },
+
+ {
+ explanation: 'https://gitlab.com/gitlab-org/quality/engineering-productivity/master-broken-incidents/-/issues/287#note_1192008962',
+ source: 'ee/lib/ee/gitlab/usage_data_counters/known_events/common.yml',
+ expected: ['ee/spec/config/metrics/every_metric_definition_spec.rb']
}
]