Module: check_mk
Branch: master
Commit: 2137e30d846f24c7d1434c37a9f4d35e8fc4cb4c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2137e30d846f24…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 23 12:42:11 2018 +0200
test_unreachable_notifications: Add debug output to find out more about failing start
situations
Change-Id: I496147565e7561d43ddb434d4ffbe31d51ccf256
---
tests/testlib/__init__.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index 9f317b0..7a29bce 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -708,6 +708,7 @@ class Site(object):
while not self.is_running():
i += 1
if i > 10:
+ self.execute(["/usr/bin/omd", "status"]).wait()
raise Exception("Could not start site %s" % self.id)
print("The site %s is not running yet, sleeping... (round %d)"
% (self.id, i))
sys.stdout.flush()