Rspec/AroundBlock doesn’t know about rspec-retry
This commit is contained in:
parent
790c740cce
commit
53c409cb07
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue