Skip to content

Commit

Permalink
Increase timeout limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Carabas committed Jan 20, 2021
1 parent c201552 commit 8763f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet_litmus/rake_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def stop_spinner(spinner)

class LitmusTimeoutError < StandardError; end

def with_retries(options: { tries: Float::INFINITY }, max_wait_minutes: 5)
def with_retries(options: { tries: Float::INFINITY }, max_wait_minutes: 8)
stop = Time.now + (max_wait_minutes * 60)
Retryable.retryable(options.merge(not: [LitmusTimeoutError])) do
raise LitmusTimeoutError if Time.now > stop
Expand Down

0 comments on commit 8763f67

Please sign in to comment.