summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-06-29 16:53:41 -0700
committerMichael Kozono <mkozono@gmail.com>2017-06-29 16:54:25 -0700
commit53c409cb07d295043c5e1cff738c84b3aa7405a8 (patch)
tree88713aea5023374d9195e93505dcceab228ffdfd
parent790c740cce8487d1155607355d06f42ee2e83fac (diff)
downloadgitlab-ce-53c409cb07d295043c5e1cff738c84b3aa7405a8.tar.gz
Rspec/AroundBlock doesn’t know about rspec-retry
-rw-r--r--spec/lib/gitlab/health_checks/fs_shards_check_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/health_checks/fs_shards_check_spec.rb b/spec/lib/gitlab/health_checks/fs_shards_check_spec.rb
index c8c402b4f71..fbacbc4a338 100644
--- a/spec/lib/gitlab/health_checks/fs_shards_check_spec.rb
+++ b/spec/lib/gitlab/health_checks/fs_shards_check_spec.rb
@@ -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