diff --git a/lib/job_crucible.rb b/lib/job_crucible.rb index 6241622..cd1f95a 100644 --- a/lib/job_crucible.rb +++ b/lib/job_crucible.rb @@ -15,7 +15,7 @@ def initialize(job, variations: 100, seed: nil, depth: 1) end def run(&callback) - @template.class.retry_on RetryableError, attempts: @depth + 1 + @template.class.retry_on RetryableError, attempts: @depth + 2 debug "Running #{variants.size} simulations of the total #{permutations.size} possibilities..." @@ -159,7 +159,7 @@ def all_executed? end end - def to_s + def inspect @breakpoints.flat_map do |location, configs| configs.keys.map { |position| "#{position}-#{location}" } end.join("|>")