Module: check_mk
Branch: master
Commit: 557ed47273849057788b7d10382d8f370fc6f3df
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=557ed472738490…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Jan 9 11:42:57 2019 +0100
Exclude check man pages from GUI crawl for now.
Because of roughly 4000 automation calls, crawling the check man pages took
about 80% (= about 15 minutes on our CI) of the whole crawling time. We
will re-enable this later when the automation calls are gone.
Change-Id: I68ab53bb6125d0f1ab491442e168f9a0c9bfc17c
---
tests/integration/cmk/gui/test_crawl.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/integration/cmk/gui/test_crawl.py
b/tests/integration/cmk/gui/test_crawl.py
index d5f033a..ffdab28 100644
--- a/tests/integration/cmk/gui/test_crawl.py
+++ b/tests/integration/cmk/gui/test_crawl.py
@@ -246,6 +246,13 @@ class Worker(threading.Thread):
if "selection=" in url:
raise InvalidUrl("Skipping selection URL: %s" % url)
+ # TODO: Remove this exclude when ModeCheckManPage works without an
+ # automation call. Currently we have to use such a call to enrich the
+ # man page with some additional info from config.check_info, see
+ # AutomationGetCheckManPage.
+ if "mode=check_manpage" in url and "wato.py" in url:
+ raise InvalidUrl("Skipping man page URL: %s" % url)
+
# Don't follow filled in filter form views
if "view.py" in url and "filled_in=filter" in url:
raise InvalidUrl("Skipping filled in filter URL: %s" % url)