From 9360105b6a9663809fdd86266fa8127b3ef88f3a Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Fri, 30 Nov 2012 11:19:03 +0000 Subject: Hard-wire repeat for the moment. It'll come from the configuration file shortly. --- lib/custodian/worker.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lib/custodian') diff --git a/lib/custodian/worker.rb b/lib/custodian/worker.rb index 79dab1e..936c44b 100644 --- a/lib/custodian/worker.rb +++ b/lib/custodian/worker.rb @@ -77,11 +77,8 @@ module Custodian # Instantiate the logger. @logger = Logger.new( logfile, "daily" ) - if ( ENV['REPEAT'] ) - @retry_count=ENV['REPEAT'].to_i - else - @retry_count=5 - end + # How many times to repeat a failing test + @retry_count=5 end -- cgit v1.2.1