MCPcopy Create free account
hub / github.com/apache/httpd / apache_fail

Method apache_fail

test/pyhttpd/env.py:703–711  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

701 return 0 if self.is_dead() else -1
702
703 def apache_fail(self):
704 log.debug("expect apache fail")
705 self._run_apachectl("stop")
706 rv = self._run_apachectl("start")
707 if rv == 0:
708 rv = 0 if self.is_dead() else -1
709 else:
710 rv = 0
711 return rv
712
713 def apache_access_log_clear(self):
714 if os.path.isfile(self._server_access_log):

Callers 15

test_md_300_003Method · 0.80
test_md_300_004Method · 0.80
test_md_300_009Method · 0.80
test_md_300_011aMethod · 0.80
test_md_300_016Method · 0.80
test_md_300_017Method · 0.80
test_md_300_018Method · 0.80
test_md_300_019Method · 0.80
test_md_300_020Method · 0.80
test_md_300_021Method · 0.80
test_md_300_023Method · 0.80
test_md_300_024Method · 0.80

Calls 2

_run_apachectlMethod · 0.95
is_deadMethod · 0.95

Tested by 15

test_md_300_003Method · 0.64
test_md_300_004Method · 0.64
test_md_300_009Method · 0.64
test_md_300_011aMethod · 0.64
test_md_300_016Method · 0.64
test_md_300_017Method · 0.64
test_md_300_018Method · 0.64
test_md_300_019Method · 0.64
test_md_300_020Method · 0.64
test_md_300_021Method · 0.64
test_md_300_023Method · 0.64
test_md_300_024Method · 0.64