Commit 5f77d89b authored by Luis Mejia's avatar Luis Mejia

Fix failing spec

parent 7533d2e2
......@@ -42,7 +42,7 @@ RSpec.describe Gitlab::UsageDataMetrics do
let(:metric_files_key_paths) do
Gitlab::Usage::MetricDefinition
.definitions
.select { |k, v| v.attributes[:data_source] == 'redis_hll' && v.attributes[:distribution] != ['ee'] && v.key_path.starts_with?('redis_hll_counters') }
.select { |k, v| v.attributes[:data_source] == 'redis_hll' && v.key_path.starts_with?('redis_hll_counters') }
.reject { |k, v| v.key_path =~ Regexp.union(ignored_metric_files_key_patterns) }
.keys
.sort
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment