Module: check_mk
Branch: master
Commit: e49cca94df95de18045afa3299bf3f71a257a42b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e49cca94df95de…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Oct 27 11:34:47 2017 +0200
Fixed wrong signal comment
Change-Id: Ibc620937eb3be9a407ead142b28a40f2de8cc1ea
---
tests/livestatus/test_liveproxyd.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/livestatus/test_liveproxyd.py b/tests/livestatus/test_liveproxyd.py
index 39bfbf5..da8a431 100644
--- a/tests/livestatus/test_liveproxyd.py
+++ b/tests/livestatus/test_liveproxyd.py
@@ -3,6 +3,7 @@
import os
import time
import pytest
+import signal
from testlib import web
@pytest.fixture(scope="module")
@@ -43,7 +44,7 @@ def _change_liveproxyd_sites(site, sites):
site.execute(["rm", "tmp/run/liveproxy/*"])
# Trigger config reload
- os.kill(int(site.read_file("tmp/run/liveproxyd.pid").strip()), 10) #
SIGHUP
+ os.kill(int(site.read_file("tmp/run/liveproxyd.pid").strip()),
signal.SIGUSR1)
def _all_sockets_opened():
return all([ site.file_exists("tmp/run/liveproxy/%s" % site_id)