|
23 | 23 |
|
24 | 24 | import org.junit.Assert; |
25 | 25 | import org.junit.Assume; |
26 | | -import org.junit.Ignore; |
27 | 26 | import org.junit.Test; |
28 | 27 | import org.junit.runner.RunWith; |
29 | 28 | import org.junit.runners.Parameterized; |
@@ -109,38 +108,6 @@ public void testClientCertPost() throws Exception { |
109 | 108 | Assert.assertEquals("OK-" + size, res.toString()); |
110 | 109 | } |
111 | 110 |
|
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 | | - |
144 | 111 | @Override |
145 | 112 | public void setUp() throws Exception { |
146 | 113 | super.setUp(); |
|
0 commit comments