summaryrefslogtreecommitdiff
path: root/lib/custodian.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-15 13:49:41 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-15 13:49:41 +0000
commit38f300b95fd7a66f0ffd546e65eb30571fc4d910 (patch)
tree981d6798d0d6100ad6aa00d7c15dbc3f15200917 /lib/custodian.rb
parent9f03fc2133a05f5728bcba08fbdf4cb0df1a6824 (diff)
Log [attempt/max] rather than just attempt for failures
Diffstat (limited to 'lib/custodian.rb')
-rw-r--r--lib/custodian.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian.rb b/lib/custodian.rb
index e93b790..0b2caf6 100644
--- a/lib/custodian.rb
+++ b/lib/custodian.rb
@@ -69,10 +69,10 @@ class Custodian
@retry_count=3
end
- log_message( "We'll run each test #{@retry_count} before alerting failures." )
end
+
#
# Write the given message to our logfile - and show it to the console
# if we're running with '--verbose' in play
@@ -177,7 +177,7 @@ class Custodian
#
while ( ( count < @retry_count ) && ( success == false ) )
- log_message( "Running test - attempt #{count}" )
+ log_message( "Running test - [#{count}/#{@retry_count}]" )
if ( obj.run_test() )
log_message( "Test succeeed - clearing alert" )