From 3042de647ce9fdb3905fa663570122b5e2c10f1c 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(-) (limited to 'bin') 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