Module: check_mk
Branch: master
Commit: 933559d30bb0445dbfdc14a3f01c63a8dfccbedb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=933559d30bb044…
Author: Marcel Schulte <ms(a)mathias-kettner.de>
Date: Wed Jan 23 17:10:19 2019 +0100
6874 FIX mkbench: fixed searched command in processes
In script ~/bin/mkbench the helper processes where still searched for old commands.
Because of this the script never run successfully. This has been fixed now.
Change-Id: Ice1fc47e656b34fd801e55644618606264e307dc
---
.werks/6874 | 10 ++++++++++
bin/mkbench | 3 +--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/.werks/6874 b/.werks/6874
new file mode 100644
index 0000000..ac0b9fa
--- /dev/null
+++ b/.werks/6874
@@ -0,0 +1,10 @@
+Title: mkbench: fixed searched command in processes
+Level: 1
+Component: core
+Compatible: compat
+Edition: cre
+Version: 1.6.0i1
+Date: 1548259583
+Class: fix
+
+In script ~/bin/mkbench the helper processes where still searched for old commands.
Because of this the script never run successfully. This has been fixed now.
diff --git a/bin/mkbench b/bin/mkbench
index 63b86f5..d9ade8d 100755
--- a/bin/mkbench
+++ b/bin/mkbench
@@ -2854,8 +2854,7 @@ class TestAgentBasedStandardHosts(TestCase):
try:
matched_pids = subprocess.check_output(
- ["pgrep", "-u",
- site_id(), "-f", "python.*check_mk.py
--keepalive$"]).split("\n")
+ ["pgrep", "-u", site_id(), "-f",
"python.*cmk --keepalive$"]).split("\n")
except subprocess.CalledProcessError, e:
self._test.error(" Found no helper yet (%s)" % e.returncode)
continue