Module: check_mk
Branch: master
Commit: c21a2db2fb91331933c1ab2cf761d66f0ec9654e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c21a2db2fb9133…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Sep 29 13:45:37 2016 +0200
Trying to fix timing issue during testing
---
tests/mkeventd/test_mkeventd_status.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/mkeventd/test_mkeventd_status.py
b/tests/mkeventd/test_mkeventd_status.py
index efa1c12..824657b 100644
--- a/tests/mkeventd/test_mkeventd_status.py
+++ b/tests/mkeventd/test_mkeventd_status.py
@@ -27,6 +27,7 @@ def test_command_reload(site, ec, core):
time.sleep(1) # needed to have at least one second after EC start
live.command("[%d] EC_RELOAD" % (int(time.time())))
+ time.sleep(1) # needed to have at least one second after EC reload
new_t = live.query_value("GET eventconsolestatus\nColumns:
status_config_load_time\n")
assert new_t > old_t