diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-04-03 17:19:17 +0500 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2019-04-03 17:19:17 +0500 |
commit | a608ac28f94a897ae8f64f0aed74b1c8622284d9 (patch) | |
tree | 0512a8171f8bee27dd19df019c53be6a1b137750 /qa/spec/spec_helper.rb | |
parent | ccdf7a93905bb7fd5eb4be5772160a9fad8e19a4 (diff) | |
download | gitlab-ce-qa-lower-retry-times.tar.gz |
Reduce no of rspec retriesqa-lower-retry-times
In e2e QA tests, reduce retry to 1 and to zero in unit tests
Diffstat (limited to 'qa/spec/spec_helper.rb')
-rw-r--r-- | qa/spec/spec_helper.rb | 2 |
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 |