From 6a84126df88f6ba8670fced8affcf380f0a62ec7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Thu, 8 Jun 2017 14:58:59 +0200
Subject: [PATCH] specify how many failing consecutive reports will be sent

---
 tester.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tester.py b/tester.py
index 795c7612..86010ef2 100755
--- a/tester.py
+++ b/tester.py
@@ -351,7 +351,7 @@ class Tester():
                     consecutive_msg = 'Maximum consecutive tester failures reached (%s).\nNo more emails will be sent.' % consecutive_failures
                     send_email = True
                 elif consecutive_failures < self.NO_MAIL_FAILURES_COUNT:
-                    consecutive_msg = 'Consecutive tester failures: %s.' % consecutive_failures
+                    consecutive_msg = 'Consecutive tester failures: %s (will stop sending reports when reaching %s failures).' % (consecutive_failures, self.NO_MAIL_FAILURES_COUNT)
                     send_email = True
                 else:
                     consecutive_msg = 'Too many consecutive tester failures: %s, no email will be sent.' % consecutive_failures
-- 
GitLab