summaryrefslogtreecommitdiff
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
commit6bc5d454c8206def638e6fd01420de9bf196034d (patch)
tree981d6798d0d6100ad6aa00d7c15dbc3f15200917
parent0d919c2f6e80350188d74c50922b26f61323e033 (diff)
Log [attempt/max] rather than just attempt for failures
-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" )