Browse Source

Correctly disable tests for FIPS JVMs (#38214)

Replace assertFalse with assumeFalse

Resolves: #38212
Ioannis Kakavas 6 years ago
parent
commit
78a65c340d

+ 1 - 2
modules/reindex/src/test/java/org/elasticsearch/index/reindex/ReindexRestClientSslTests.java

@@ -143,9 +143,8 @@ public class ReindexRestClientSslTests extends ESTestCase {
         }
     }
 
-    @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/38212")
     public void testClientSucceedsWithVerificationDisabled() throws IOException {
-        assertFalse("Cannot disable verification in FIPS JVM", inFipsJvm());
+        assumeFalse("Cannot disable verification in FIPS JVM", inFipsJvm());
         final List<Thread> threads = new ArrayList<>();
         final Settings settings = Settings.builder()
             .put("path.home", createTempDir())