summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-14 15:55:04 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-14 15:55:04 +0000
commit2387a42203794f7957d504868b8ccee4c0f35c52 (patch)
tree0a1d292707ea5cd43667af4d83c54411fd4389d1
parent4748f414141d7a3fcb4208a1ad948b7752d5a28d (diff)
Log the number of times we run the test(s).
-rwxr-xr-xbin/custodian-dequeue4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue
index 49ed052..850e169 100755
--- a/bin/custodian-dequeue
+++ b/bin/custodian-dequeue
@@ -290,10 +290,12 @@ class Custodian
#
while ( ( count < @retry_count ) && ( success == false ) )
+ log_message( "Running test - attempt #{count}" )
+
if ( obj.run_test() )
log_message( "Test succeeed - clearing alert" )
+ success = true
alert.clear()
- success= true
end
count += 1
end