Skip to content

Commit

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

resolves #38212.

backport of #38214.
  • Loading branch information
talevy authored Feb 14, 2019
1 parent 6424053 commit 5ab2479
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 5ab2479

Please sign in to comment.