Merge branch 'retry-specs' into 'master'
Attempts to run RSpec tests twice (1 retry) See merge request !12066
This commit is contained in:
commit
de23d651e0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue