summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-04-09 10:04:03 +0000
committerSean McGivern <sean@gitlab.com>2019-04-09 10:04:03 +0000
commit0991dc8c823cdc04ec1e298651b45f7a9cf8f82a (patch)
tree5a8b6c84f9e62096a975c9b83d770a4f5eceac1a /qa
parent089b9e572c47fb9239e2516f6b1e66a890b90619 (diff)
downloadgitlab-ce-0991dc8c823cdc04ec1e298651b45f7a9cf8f82a.tar.gz
Reduce number of rspec retries
In both e2e QA tests and unit tests, reduce the number of retires to 2 (i.e., 1 initial and one retry)
Diffstat (limited to 'qa')
-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 be13c3fb683..a235fddabca 100644
--- a/qa/spec/spec_helper.rb
+++ b/qa/spec/spec_helper.rb
@@ -34,7 +34,7 @@ RSpec.configure do |config|
config.display_try_failure_messages = true
config.around do |example|
- retry_times = example.metadata.keys.include?(:quarantine) ? 1 : 3
+ retry_times = example.metadata.keys.include?(:quarantine) ? 1 : 2
example.run_with_retry retry: retry_times
end
end