summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2024-12-03 10:46:38 +0100
committerStefan Eissing <icing@apache.org>2024-12-03 10:46:38 +0100
commit77a8be7be9f4a0c1c1d3925933cac97b925ee83a (patch)
tree9aa636f612cb3bb097419ef575d64309db392879
parentDon't use AuthFormLoginRequiredLocation in inline (diff)
downloadapache2-77a8be7be9f4a0c1c1d3925933cac97b925ee83a.tar.xz
apache2-77a8be7be9f4a0c1c1d3925933cac97b925ee83a.zip
mod_md test_702_42, make sure that log errors/warning from previous
test are not counted. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1922278 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--test/modules/md/test_702_auto.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/modules/md/test_702_auto.py b/test/modules/md/test_702_auto.py
index 90103e3aff..26f295f463 100644
--- a/test/modules/md/test_702_auto.py
+++ b/test/modules/md/test_702_auto.py
@@ -630,6 +630,15 @@ class TestAutov2:
# 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
@@ -645,6 +654,7 @@ class TestAutov2:
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])