Skip to content

Commit

Permalink
Update lib/puppet_litmus/rake_tasks.rb
Browse files Browse the repository at this point in the history
Co-authored-by: jordanbreen28 <[email protected]>
  • Loading branch information
Ramesh7 and jordanbreen28 authored Jul 28, 2023
1 parent cccb292 commit f732126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet_litmus/rake_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
rescue PuppetLitmus::RakeHelper::LitmusTimeoutError
current_retry_count += 1
Rake::Task['litmus:tear_down'].invoke(target_names.first)
raise if current_retry_count >= retry_count
raise if current_retry_count > retry_count

puts "Provision of node #{target_names.first} failed, Retrying #{current_retry_count} of #{retry_count}"
retry
Expand Down

0 comments on commit f732126

Please sign in to comment.