diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-14 15:55:04 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-14 15:55:04 +0000 |
commit | 3042de647ce9fdb3905fa663570122b5e2c10f1c (patch) | |
tree | 0a1d292707ea5cd43667af4d83c54411fd4389d1 /bin | |
parent | 702794c8631b6689f27bd300c33ae2cde1cea750 (diff) |
Log the number of times we run the test(s).
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/custodian-dequeue | 4 |
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 |