Rspec/AroundBlock doesn’t know about rspec-retry
This commit is contained in:
parent
790c740cce
commit
53c409cb07
|
@ -98,7 +98,7 @@ describe Gitlab::HealthChecks::FsShardsCheck do
|
|||
end
|
||||
|
||||
# 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
|
||||
example.run_with_retry retry: times_to_try
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue