From 3a33665c9cb768584ce6296b3bacf34a285e0ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Fri, 9 Jun 2017 19:08:40 +0200 Subject: Attempts to run RSpec tests twice (1 retry) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable --- spec/spec_helper.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 8b8fbf6e862..9c0862ac9ff 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -75,9 +75,8 @@ RSpec.configure do |config| end if ENV['CI'] - # Retry only on feature specs that use JS - config.around :each, :js do |ex| - ex.run_with_retry retry: 3 + config.around(:each) do |ex| + ex.run_with_retry retry: 2 end end -- cgit v1.2.3