Commit 53c409cb authored by Michael Kozono's avatar Michael Kozono

Rspec/AroundBlock doesn’t know about rspec-retry

parent 790c740c
...@@ -98,7 +98,7 @@ describe Gitlab::HealthChecks::FsShardsCheck do ...@@ -98,7 +98,7 @@ describe Gitlab::HealthChecks::FsShardsCheck do
end end
# Unsolved intermittent failure in CI https://gitlab.com/gitlab-org/gitlab-ce/issues/31128 # Unsolved intermittent failure in CI https://gitlab.com/gitlab-org/gitlab-ce/issues/31128
around(:each) do |example| around(:each) do |example| # rubocop:disable RSpec/AroundBlock
times_to_try = ENV['CI'] ? 4 : 1 times_to_try = ENV['CI'] ? 4 : 1
example.run_with_retry retry: times_to_try example.run_with_retry retry: times_to_try
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