You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2024/12/03 09:46:39 UTC
svn commit: r1922278 - /httpd/httpd/trunk/test/modules/md/test_702_auto.py
Author: icing
Date: Tue Dec 3 09:46:38 2024
New Revision: 1922278
URL: http://svn.apache.org/viewvc?rev=1922278&view=rev
Log:
mod_md test_702_42, make sure that log errors/warning from previous
test are not counted.
Modified:
httpd/httpd/trunk/test/modules/md/test_702_auto.py
Modified: httpd/httpd/trunk/test/modules/md/test_702_auto.py
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/test/modules/md/test_702_auto.py?rev=1922278&r1=1922277&r2=1922278&view=diff
==============================================================================
--- httpd/httpd/trunk/test/modules/md/test_702_auto.py (original)
+++ httpd/httpd/trunk/test/modules/md/test_702_auto.py Tue Dec 3 09:46:38 2024
@@ -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])