Rspec/AroundBlock doesn’t know about rspec-retry

This commit is contained in:
Michael Kozono 2017-06-29 16:53:41 -07:00
parent 790c740cce
commit 53c409cb07
1 changed files with 1 additions and 1 deletions

View File

@ -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