This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new bf424d5cda Improve reporting of why tests are skipped.
bf424d5cda is described below

commit bf424d5cdae81dcf240045dc540891188bf287e6
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Jan 14 19:02:12 2026 +0000

    Improve reporting of why tests are skipped.
---
 test/org/apache/tomcat/util/net/TesterSupport.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/tomcat/util/net/TesterSupport.java 
b/test/org/apache/tomcat/util/net/TesterSupport.java
index b0d7f22009..b3cda2e310 100644
--- a/test/org/apache/tomcat/util/net/TesterSupport.java
+++ b/test/org/apache/tomcat/util/net/TesterSupport.java
@@ -190,7 +190,7 @@ public final class TesterSupport {
         String protocol = tomcat.getConnector().getProtocolHandlerClassName();
         if (protocol.contains("Apr")) {
             // Only run for OpenSSL to avoid running the test multiple times
-            
Assume.assumeTrue(OpenSSLImplementation.class.getName().equals(sslImplementationName));
+            Assume.assumeTrue("With APR, only run for OpenSSL", 
OpenSSLImplementation.class.getName().equals(sslImplementationName));
             // If APR is being used, the listener will have been configured in 
TomcatBaseTest.setUp()
         } else {
             if (useOpenSSL) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to