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

Method apache_restart

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

Source from the content-addressed store, hash-verified

681 return r.exit_code
682
683 def apache_restart(self):
684 self.apache_stop()
685 r = self._run_apachectl("start")
686 if r.exit_code == 0:
687 timeout = timedelta(seconds=10)
688 return 0 if self.is_live(self._http_base, timeout=timeout) else -1
689 return r.exit_code
690
691 def apache_stop(self):
692 r = self._run_apachectl("stop")

Callers 15

_class_scopeMethod · 0.80
test_md_790_001Method · 0.80
test_md_790_002Method · 0.80
test_md_790_003Method · 0.80
_class_scopeMethod · 0.80
test_md_710_001Method · 0.80
test_md_710_002Method · 0.80
test_md_710_003Method · 0.80
test_md_710_004Method · 0.80
test_md_300_001Method · 0.80
test_md_300_002Method · 0.80
test_md_300_005Method · 0.80

Calls 3

apache_stopMethod · 0.95
_run_apachectlMethod · 0.95
is_liveMethod · 0.95

Tested by 15

_class_scopeMethod · 0.64
test_md_790_001Method · 0.64
test_md_790_002Method · 0.64
test_md_790_003Method · 0.64
_class_scopeMethod · 0.64
test_md_710_001Method · 0.64
test_md_710_002Method · 0.64
test_md_710_003Method · 0.64
test_md_710_004Method · 0.64
test_md_300_001Method · 0.64
test_md_300_002Method · 0.64
test_md_300_005Method · 0.64