From 2387a42203794f7957d504868b8ccee4c0f35c52 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 14 Nov 2012 15:55:04 +0000 Subject: Log the number of times we run the test(s). --- bin/custodian-dequeue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1