Increase timeout for integration tests.

This commit is contained in:
Markus Reiter 2020-11-29 16:08:53 +01:00
parent df436e331d
commit 8298f95677

View File

@ -80,7 +80,11 @@ RSpec.configure do |config|
if ENV["CI"] if ENV["CI"]
config.verbose_retry = true config.verbose_retry = true
config.display_try_failure_messages = true config.display_try_failure_messages = true
config.default_retry_count = 2
config.around(:each, :integration_test) do |example|
example.metadata[:timeout] ||= 120
example.run
end
config.around(:each, :needs_network) do |example| config.around(:each, :needs_network) do |example|
example.metadata[:timeout] ||= 120 example.metadata[:timeout] ||= 120