Commit be3a2238 authored by Stan Hu's avatar Stan Hu

Merge branch 'caalberts-fix-flaky-ci_platform_metric_spec' into 'master'

Fix flaky /spec/models/ci_platform_metric_spec.rb

See merge request gitlab-org/gitlab!51875
parents beb6ecab b5b96f30
...@@ -4,6 +4,6 @@ FactoryBot.define do ...@@ -4,6 +4,6 @@ FactoryBot.define do
factory :ci_platform_metric do factory :ci_platform_metric do
recorded_at { Time.zone.now } recorded_at { Time.zone.now }
platform_target { generate(:title) } platform_target { generate(:title) }
count { SecureRandom.random_number(100) } count { SecureRandom.random_number(100) + 1 }
end end
end end
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