diff options
author | Robert Speicher <robert@gitlab.com> | 2017-06-12 18:41:10 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-06-12 18:41:10 +0300 |
commit | de23d651e0a6b31b21c416c073ddf9e8ff97ade5 (patch) | |
tree | ce596a49f5ae12fb137e6703a75f9cdaf6b788a6 /spec | |
parent | 6bea29649e1a660a6298f4e304806192544c0ed3 (diff) | |
parent | 3a33665c9cb768584ce6296b3bacf34a285e0ccb (diff) |
Merge branch 'retry-specs' into 'master'
Attempts to run RSpec tests twice (1 retry)
See merge request !12066
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 110428da794..1979347a178 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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 |