Skip to content

Commit

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

Resolves: #38212
  • Loading branch information
jkakavas committed Feb 1, 2019
1 parent 9c39dea commit 78a65c3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,8 @@ public void testClientSucceedsWithCertificateAuthorities() throws IOException {
}
}

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

0 comments on commit 78a65c3

Please sign in to comment.