Skip to content

Commit a8b967f

Browse files
committed
[Test] Mute more TLSv1 tests
The latest JDK releases disable TLSv1 and TLSv1.1 by default and the related tests always fail. See #72877 for more details.
1 parent dda8da1 commit a8b967f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactoryTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ public void testSslTrustIsReloaded() throws Exception {
272272
session.close();
273273
}
274274

275+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/72877")
275276
public void testDeprecationWarningIfTls1IsUsed() throws Exception {
276277
InMemoryDirectoryServer ldapServer = randomFrom(ldapServers);
277278
String ldapUrl = new LDAPURL("ldaps", "localhost", ldapServer.getListenPort("ldaps-tls1"), null, null, null, null).toString();

x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslIntegrationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public void testThatHttpUsingSSLv3IsRejected() throws Exception {
174174
}
175175
}
176176

177+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/72877")
177178
public void testServerLogsDeprecationWarningWhenTransportClientConnectsWithTLS1() throws Exception {
178179
assumeFalse("Can't run in a FIPS JVM with verification mode 'none'", inFipsJvm());
179180
Logger logger =
@@ -204,6 +205,7 @@ public void testServerLogsDeprecationWarningWhenTransportClientConnectsWithTLS1(
204205
}
205206
}
206207

208+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/72877")
207209
public void testDeprecationWarningWhenHttpClientConnectsWithTLS1() throws Exception {
208210
Logger logger =
209211
LogManager.getLogger("org.elasticsearch.deprecation.xpack.security.Security");

0 commit comments

Comments
 (0)