Module: check_mk
Branch: master
Commit: b9142cc443236bba62ff433bb7882be6efa01490
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b9142cc443236b…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 24 20:48:40 2016 +0100
Tests: Use apache reload instead of restart during site creation
---
tests/testlib/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index d479d74..d03fb05 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -220,7 +220,8 @@ class Site(object):
raise Exception("The site %s already exists." % self.id)
if not self.exists():
- assert omd(["-V", self.version.version_directory(),
"create", self.id]) == 0
+ assert omd(["-V", self.version.version_directory(),
"create",
+ "--apache-reload", self.id]) == 0
assert os.path.exists("/omd/sites/%s" % self.id)
if self.update_with_git: