summaryrefslogtreecommitdiff
path: root/qa/spec
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-03 09:09:09 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-03 09:09:09 +0000
commitc384315ae1ea48df2a741874b326581ded0a97e1 (patch)
tree6f50dfdb7fb726ef3e738dc5264526cf683906a3 /qa/spec
parente1e017ddc4d64e4777bbe663c555093a7ae0cca3 (diff)
downloadgitlab-ce-c384315ae1ea48df2a741874b326581ded0a97e1.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/spec')
-rw-r--r--qa/spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/spec/spec_helper.rb b/qa/spec/spec_helper.rb
index 42f1e6f292a..36a1b901c65 100644
--- a/qa/spec/spec_helper.rb
+++ b/qa/spec/spec_helper.rb
@@ -62,7 +62,7 @@ RSpec.configure do |config|
# show exception that triggers a retry if verbose_retry is set to true
config.display_try_failure_messages = true
- if ENV['CI']
+ if ENV['CI'] && !QA::Runtime::Env.disable_rspec_retry?
config.around do |example|
retry_times = example.metadata.key?(:quarantine) ? 1 : 2
example.run_with_retry retry: retry_times