Module: check_mk
Branch: master
Commit: 2c3eabfb8f52ada574dcee0d004f53563b45f7f9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2c3eabfb8f52ad…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri May 18 11:08:51 2018 +0200
Fixed test_get_graph() check
Change-Id: Ib7a3cece53a189d5225847050af959c69d843cea
---
tests/integration/web/test_webapi.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/integration/web/test_webapi.py b/tests/integration/web/test_webapi.py
index cad20c1..1674483 100644
--- a/tests/integration/web/test_webapi.py
+++ b/tests/integration/web/test_webapi.py
@@ -356,7 +356,7 @@ def test_get_graph(web, site):
})
web.discover_services("test-host-get-graph")
web.activate_changes()
- web.schedule_check("test-host-get-graph", "Check_MK")
+ site.schedule_check("test-host-get-graph", "Check_MK", 0)
# Wait for RRD file creation
# Isn't this a bug that the graph is not instantly available?