From a608ac28f94a897ae8f64f0aed74b1c8622284d9 Mon Sep 17 00:00:00 2001 From: Sanad Liaquat Date: Wed, 3 Apr 2019 17:19:17 +0500 Subject: Reduce no of rspec retries In e2e QA tests, reduce retry to 1 and to zero in unit tests --- qa/spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qa') 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 -- cgit v1.2.1