Add retry to ensure service is reachable

Also modify Gemfile for ruby version issue
This commit is contained in:
Richard Pijnenburg 2015-10-19 12:44:09 +02:00
parent 3643e70e09
commit b9c7124265
4 changed files with 21 additions and 4 deletions

View file

@ -1,2 +1,11 @@
require 'serverspec'
set :backend, :exec
require 'rspec/retry'
RSpec.configure do |config|
# show retry status in spec process
config.verbose_retry = true
# show exception that triggers a retry if verbose_retry is set to true
config.display_try_failure_messages = true
end