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

Method apache_stop

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

Source from the content-addressed store, hash-verified

689 return r.exit_code
690
691 def apache_stop(self):
692 r = self._run_apachectl("stop")
693 if r.exit_code == 0:
694 timeout = timedelta(seconds=10)
695 return 0 if self.is_dead(self._http_base, timeout=timeout) else -1
696 return r
697
698 def apache_graceful_stop(self):
699 log.debug("stop apache")

Callers 15

install_test_confMethod · 0.95
apache_restartMethod · 0.95
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_011bMethod · 0.80
test_md_300_021Method · 0.80
test_md_300_026Method · 0.80
test_md_300_028Method · 0.80
test_md_300_029Method · 0.80
_class_scopeMethod · 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_011bMethod · 0.64
test_md_300_021Method · 0.64
test_md_300_026Method · 0.64
test_md_300_028Method · 0.64
test_md_300_029Method · 0.64
_class_scopeMethod · 0.64
_method_scopeMethod · 0.64
envFunction · 0.64