Mute SslNullCipherTests on JDK12
JDK12 doesn't support NULL cipher for TLS by default. This commit mutes these tests on JDK12 until we decide whether we need to keep or remove them
This commit is contained in:
parent
d54f88f62c
commit
374e24c7fd
|
@ -7,6 +7,7 @@ package org.elasticsearch.xpack.security.transport.ssl;
|
|||
|
||||
import org.elasticsearch.action.DocWriteResponse.Result;
|
||||
import org.elasticsearch.action.index.IndexResponse;
|
||||
import org.elasticsearch.bootstrap.JavaVersion;
|
||||
import org.elasticsearch.client.Client;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
import org.elasticsearch.test.SecurityIntegTestCase;
|
||||
|
@ -22,6 +23,11 @@ public class SslNullCipherTests extends SecurityIntegTestCase {
|
|||
assumeFalse("Can't run in a FIPS JVM", inFipsJvm());
|
||||
}
|
||||
|
||||
@BeforeClass
|
||||
public static void muteInJDK12() {
|
||||
assumeFalse("https://github.com/elastic/elasticsearch/issues/37403", JavaVersion.current().equals(JavaVersion.parse("12")));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean transportSSLEnabled() {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue