diff options
| author | Steve Kemp <steve@steve.org.uk> | 2012-11-30 11:19:03 +0000 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2012-11-30 11:19:03 +0000 | 
| commit | a6225084c084ae4e41ce551da42cd059279f0a2d (patch) | |
| tree | 1aa83c58fac72de581a4bb823f3f287e9988d266 /lib/custodian | |
| parent | 098945e28b93e19f62773ae5b7ecdbfdfe0ca10c (diff) | |
  Hard-wire repeat for the moment.  It'll come from the configuration
  file shortly.
Diffstat (limited to 'lib/custodian')
| -rw-r--r-- | lib/custodian/worker.rb | 7 | 
1 files changed, 2 insertions, 5 deletions
| 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 | 
