Skip to content

Commit

Permalink
mod_md test_702_42, make sure that log errors/warning from previous
Browse files Browse the repository at this point in the history
test are not counted.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922278 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
icing committed Dec 3, 2024
1 parent 7195b5a commit 77a8be7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/modules/md/test_702_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,15 @@ def test_md_702_041(self, env):
# check that acme-tls/1 is available for none of the domains
stat = env.get_md_status(domain)
assert stat["proto"]["acme-tls/1"] == []
#
env.httpd_error_log.ignore_recent(
lognos = [
"AH10056" # None of the ACME challenge methods configured for this domain are suitable
],
matches = [
r'.*None of the ACME challenge types for domain. *'
]
)

# test case: 2.4.40 mod_ssl stumbles over a SSLCertificateChainFile when installing
# a fallback certificate
Expand All @@ -645,6 +654,7 @@ def test_md_702_042(self, env):
conf.add_md(dns_list)
conf.add_vhost(dns_list)
conf.install()
env.httpd_error_log.clear_log()
assert env.apache_restart() == 0
assert env.await_completion([domain])

Expand Down

0 comments on commit 77a8be7

Please sign in to comment.