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

Method test_md_801_010

test/modules/md/test_801_stapling.py:391–402  ·  view source on GitHub ↗
(self, env)

Source from the content-addressed store, hash-verified

389 # There was a crash in server-status in this case
390 @pytest.mark.skipif(MDTestEnv.lacks_ocsp(), reason="no OCSP responder")
391 def test_md_801_010(self, env):
392 env.clear_ocsp_store()
393 md = self.mdA
394 domains = [md]
395 conf = MDConf(env)
396 conf.start_md(domains)
397 conf.add("MDStapling on")
398 conf.end_md()
399 conf.install()
400 assert env.apache_restart() == 0, f'{env.apachectl_stderr}'
401 stat = env.get_server_status()
402 assert stat
403
404 # add 7 mdomains that need OCSP stapling, once activated
405 # we use at max 6 connections against the same OCSP responder and

Callers

nothing calls this directly

Calls 8

start_mdMethod · 0.95
end_mdMethod · 0.95
MDConfClass · 0.85
clear_ocsp_storeMethod · 0.80
addMethod · 0.80
installMethod · 0.80
apache_restartMethod · 0.80
get_server_statusMethod · 0.45

Tested by

no test coverage detected