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 | 2387a42203794f7957d504868b8ccee4c0f35c52 (patch) | |
tree | 0a1d292707ea5cd43667af4d83c54411fd4389d1 /bin | |
parent | 4748f414141d7a3fcb4208a1ad948b7752d5a28d (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 |