Browse Source

Mute failing test on FIPS JVM (#39616)

Relates: #39580
Tim Vernum 6 years ago
parent
commit
14eb7677ef

+ 1 - 0
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloaderTests.java

@@ -462,6 +462,7 @@ public class SSLConfigurationReloaderTests extends ESTestCase {
      * truncating the certificate file that is being monitored
      * truncating the certificate file that is being monitored
      */
      */
     public void testPEMTrustReloadException() throws Exception {
     public void testPEMTrustReloadException() throws Exception {
+        assumeFalse("Broken on BC-FIPS -- https://github.com/elastic/elasticsearch/issues/39580", inFipsJvm());
         Path tempDir = createTempDir();
         Path tempDir = createTempDir();
         Path clientCertPath = tempDir.resolve("testclient.crt");
         Path clientCertPath = tempDir.resolve("testclient.crt");
         Files.copy(getDataPath("/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt"), clientCertPath);
         Files.copy(getDataPath("/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt"), clientCertPath);