Skip to content

Commit

Permalink
Merge pull request #248 from hunner/retry_harder
Browse files Browse the repository at this point in the history
(maint) Retry harder
  • Loading branch information
HAIL9000 committed Aug 17, 2017
2 parents d00b75f + 3834508 commit 1ed2e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/acceptance_2b_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,12 @@ class { 'java':}
EOS
apply_manifest(pp, :catch_failures => true, :acceptable_exit_codes => [0,2])
end
it 'tomcat7 should be serving a war on port 8280', :retry => 5, :retry_wait => 10 do
it 'tomcat7 should be serving a war on port 8280', :retry => 10, :retry_wait => 10 do
shell('curl localhost:8280/tomcat7-sample/hello.jsp') do |r|
expect(r.stdout).to match(/Sample Application JSP Page/)
end
end
it 'tomcat7078 should be serving a war on port 8380', :retry => 5, :retry_wait => 10 do
it 'tomcat7078 should be serving a war on port 8380', :retry => 10, :retry_wait => 10 do
shell('curl localhost:8380/tomcat7078-sample/hello.jsp') do |r|
expect(r.stdout).to match(/Sample Application JSP Page/)
end
Expand Down

0 comments on commit 1ed2e8c

Please sign in to comment.