From 536ea6e3ee390d258befb6fc4eaee33e9a36a81f Mon Sep 17 00:00:00 2001 From: David Dieulivol <ddieulivol@gitlab.com> Date: Wed, 22 Mar 2023 01:40:49 +0000 Subject: [PATCH] Fix test selection gap for config/feature_categories.yml --- scripts/verify-tff-mapping | 5 +++++ tests.yml | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/scripts/verify-tff-mapping b/scripts/verify-tff-mapping index 872f8dae86e9f..2fbafed3987d1 100755 --- a/scripts/verify-tff-mapping +++ b/scripts/verify-tff-mapping @@ -196,6 +196,11 @@ tests = [ 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'] + }, + { + explanation: 'https://gitlab.com/gitlab-org/quality/engineering-productivity/team/-/issues/146', + source: 'config/feature_categories.yml', + expected: ['spec/db/docs_spec.rb', 'ee/spec/lib/ee/gitlab/database/docs/docs_spec.rb'] } ] diff --git a/tests.yml b/tests.yml index 1135d475cc4fc..2bfb5a8c1a8a1 100644 --- a/tests.yml +++ b/tests.yml @@ -102,3 +102,9 @@ mapping: test: ee/spec/config/metrics/every_metric_definition_spec.rb - source: ee/lib/ee/gitlab/usage_data_counters/known_events/.*.yml test: ee/spec/config/metrics/every_metric_definition_spec.rb + + # See https://gitlab.com/gitlab-org/quality/engineering-productivity/team/-/issues/146 + - source: config/feature_categories.yml + test: spec/db/docs_spec.rb + - source: config/feature_categories.yml + test: ee/spec/lib/ee/gitlab/database/docs/docs_spec.rb -- GitLab