diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-04-09 13:04:03 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-04-09 13:04:03 +0300 |
commit | 0991dc8c823cdc04ec1e298651b45f7a9cf8f82a (patch) | |
tree | 5a8b6c84f9e62096a975c9b83d770a4f5eceac1a /qa/spec/spec_helper.rb | |
parent | 089b9e572c47fb9239e2516f6b1e66a890b90619 (diff) |
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/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 |