You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2020/05/29 16:56:37 UTC

[tomcat] branch 8.5.x updated: Skip test for APR

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

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


The following commit(s) were added to refs/heads/8.5.x by this push:
     new c2c4d97  Skip test for APR
c2c4d97 is described below

commit c2c4d97e78a1af6ea10f5428e9f790d908099ccc
Author: remm <re...@apache.org>
AuthorDate: Fri May 29 18:56:21 2020 +0200

    Skip test for APR
---
 test/org/apache/tomcat/util/net/TestResolverSSL.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/org/apache/tomcat/util/net/TestResolverSSL.java b/test/org/apache/tomcat/util/net/TestResolverSSL.java
index 984e261..c17734d 100644
--- a/test/org/apache/tomcat/util/net/TestResolverSSL.java
+++ b/test/org/apache/tomcat/util/net/TestResolverSSL.java
@@ -22,6 +22,7 @@ import java.io.PrintWriter;
 import javax.servlet.ServletException;
 
 import org.junit.Assert;
+import org.junit.Assume;
 import org.junit.Test;
 
 import org.apache.catalina.Container;
@@ -38,6 +39,9 @@ public class TestResolverSSL extends TomcatBaseTest {
 
     @Test
     public void testSslEnv() throws Exception {
+        Assume.assumeTrue("SSL renegotiation has to be supported for this test",
+                TesterSupport.isRenegotiationSupported(getTomcatInstance()));
+
         Tomcat tomcat = getTomcatInstance();
         Container root = tomcat.getHost().findChild("");
         root.getPipeline().addValve(new ResolverTestValve());


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org