Skip to content

Commit ff57c89

Browse files
committed
Remove these tests. Tomcat Native is being refactored.
1 parent 919c427 commit ff57c89

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

test/org/apache/tomcat/util/net/TestClientCertTls13.java

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
import org.junit.Assert;
2525
import org.junit.Assume;
26-
import org.junit.Ignore;
2726
import org.junit.Test;
2827
import org.junit.runner.RunWith;
2928
import org.junit.runners.Parameterized;
@@ -109,38 +108,6 @@ public void testClientCertPost() throws Exception {
109108
Assert.assertEquals("OK-" + size, res.toString());
110109
}
111110

112-
@Test
113-
@Ignore // Currently fails with Tomcat Native 1.3.2 (unreleased)
114-
public void testCiphersTLS12Only() throws Exception {
115-
Tomcat tomcat = getTomcatInstance();
116-
SSLHostConfig sslHostConfig = tomcat.getConnector().findSslHostConfigs()[0];
117-
sslHostConfig.setCiphers(SSLHostConfig.DEFAULT_TLS_12_BELOW_CIPHERS);
118-
119-
tomcat.start();
120-
121-
Assume.assumeFalse("LibreSSL does not allow PHA",
122-
TesterSupport.isOpenSSLVariant(sslImplementationName, OpenSSLStatus.Name.LIBRESSL));
123-
124-
ByteChunk res = getUrl("https://localhost:" + getPort() + "/protected");
125-
Assert.assertEquals("OK-" + TesterSupport.ROLE, res.toString());
126-
}
127-
128-
@Test
129-
@Ignore // Currently fails with Tomcat Native 1.3.1
130-
public void testCiphersTLS13Only() throws Exception {
131-
Tomcat tomcat = getTomcatInstance();
132-
SSLHostConfig sslHostConfig = tomcat.getConnector().findSslHostConfigs()[0];
133-
sslHostConfig.setCiphers(SSLHostConfig.DEFAULT_TLS_13_ABOVE_CIPHERS);
134-
135-
tomcat.start();
136-
137-
Assume.assumeFalse("LibreSSL does not allow PHA",
138-
TesterSupport.isOpenSSLVariant(sslImplementationName, OpenSSLStatus.Name.LIBRESSL));
139-
140-
ByteChunk res = getUrl("https://localhost:" + getPort() + "/protected");
141-
Assert.assertEquals("OK-" + TesterSupport.ROLE, res.toString());
142-
}
143-
144111
@Override
145112
public void setUp() throws Exception {
146113
super.setUp();

0 commit comments

Comments
 (0)