forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add retry to ensure service is reachable
Also modify Gemfile for ruby version issue
- Loading branch information
Richard Pijnenburg
committed
Oct 19, 2015
1 parent
3643e70
commit b9c7124
Showing
4 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'test-kitchen' | ||
gem "kitchen-docker" | ||
gem "kitchen-docker", '< 2.2.0' | ||
gem 'kitchen-ansible' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'rspec-retry' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |