Restart web servers before beginning tests

This commit is contained in:
Seth Schoen 2016-08-10 14:57:44 -07:00
parent ff3ade84ce
commit 595e515518
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ class Proxy(configurators_common.Proxy):
self._prepare_configurator()
try:
subprocess.check_call("apachectl -k start".split())
subprocess.check_call("apachectl -k restart".split())
except errors.Error:
raise errors.Error(
"Apache failed to load {0} before tests started".format(

View file

@ -62,7 +62,7 @@ class Proxy(configurators_common.Proxy):
self._prepare_configurator()
try:
subprocess.check_call("nginx".split())
subprocess.check_call("service nginx reload".split())
except errors.Error:
raise errors.Error(
"Nginx failed to load {0} before tests started".format(