Skip to content

Commit

Permalink
Correctly disable tests for FIPS JVMs
Browse files Browse the repository at this point in the history
Replace assertFalse with assumeFalse

resolves elastic#38212.

backport of elastic#38214.
  • Loading branch information
talevy committed Feb 13, 2019
1 parent f74d834 commit 007aed2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void testClientSucceedsWithCertificateAuthorities() throws IOException {
}

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())
Expand Down

0 comments on commit 007aed2

Please sign in to comment.