Merge branch 'retry-specs' into 'master'

Attempts to run RSpec tests twice (1 retry)

See merge request !12066
This commit is contained in:
Robert Speicher 2017-06-12 15:41:10 +00:00
commit de23d651e0
1 changed files with 2 additions and 3 deletions

View File

@ -84,9 +84,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