Fix unit test failure with APR. SSL renegotiation will not work by default for this...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 27 Jul 2010 20:28:38 +0000 (20:28 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 27 Jul 2010 20:28:38 +0000 (20:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@979854 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/catalina/startup/TestTomcatSSL.java

index 5b1d816..b268e8b 100644 (file)
@@ -188,6 +188,9 @@ public class TestTomcatSSL extends TomcatBaseTest {
         if (protocol.indexOf("Nio") != -1) {
             return; // Not supported yet (2010-07-22)
         }
+        if (protocol.indexOf("Apr") != -1) {
+            return; // Disabled by default in 1.1.20 windows binary (2010-07-27)
+        }
 
         SSLContext sslCtx = SSLContext.getInstance("TLS");
         sslCtx.init(null, trustAllCerts, new java.security.SecureRandom());