|
|
|
@ -35,8 +35,11 @@ RSpec.configure do |config| |
|
|
|
|
# show exception that triggers a retry if verbose_retry is set to true |
|
|
|
|
config.display_try_failure_messages = true |
|
|
|
|
|
|
|
|
|
# retry every failure by default |
|
|
|
|
config.default_retry_count = 2 |
|
|
|
|
# We only want to retry when running on CI servers |
|
|
|
|
if ENV['CI'] |
|
|
|
|
# retry every failure by default |
|
|
|
|
config.default_retry_count = 2 |
|
|
|
|
|
|
|
|
|
config.default_sleep_interval = 5 |
|
|
|
|
config.default_sleep_interval = 5 |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|