Module: check_mk
Branch: master
Commit: fb3a3eed2c4c55c7e8b81a5be8e3bc4cae7df413
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fb3a3eed2c4c55…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed May 30 08:40:46 2018 +0200
Reduce possible timing problems a bit
Change-Id: I06003f86a545dded751385c06bf8aa53296179d2
---
tests/integration/notifications/test_simple_rbn.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/integration/notifications/test_simple_rbn.py
b/tests/integration/notifications/test_simple_rbn.py
index 6546b75..44ee160 100644
--- a/tests/integration/notifications/test_simple_rbn.py
+++ b/tests/integration/notifications/test_simple_rbn.py
@@ -43,8 +43,8 @@ def test_simple_rbn_notification(test_config, site, core):
site.send_host_check_result("notify-test", 1, "FAKE DOWN",
expected_state=1)
# Now check for appearing log lines - one after the other
- l.check_logged("Got raw notification (notify-test)")
- l.check_logged("notifying hh via mail")
- l.check_logged("Creating spoolfile:")
- l.check_logged("(notify-test) for local delivery")
- l.check_logged("Output: Spooled mail to local mail transmission agent")
+ l.check_logged("Got raw notification (notify-test)", timeout=20)
+ l.check_logged("notifying hh via mail", timeout=20)
+ l.check_logged("Creating spoolfile:", timeout=20)
+ l.check_logged("(notify-test) for local delivery", timeout=20)
+ l.check_logged("Output: Spooled mail to local mail transmission agent",
timeout=20)