Skip to content

Commit 5ab2479

Browse files
authored
Correctly disable tests for FIPS JVMs (#38871)
Replace assertFalse with assumeFalse resolves #38212. backport of #38214.
1 parent 6424053 commit 5ab2479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/reindex/src/test/java/org/elasticsearch/index/reindex/ReindexRestClientSslTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public void testClientSucceedsWithCertificateAuthorities() throws IOException {
144144
}
145145

146146
public void testClientSucceedsWithVerificationDisabled() throws IOException {
147-
assertFalse("Cannot disable verification in FIPS JVM", inFipsJvm());
147+
assumeFalse("Cannot disable verification in FIPS JVM", inFipsJvm());
148148
final List<Thread> threads = new ArrayList<>();
149149
final Settings settings = Settings.builder()
150150
.put("path.home", createTempDir())

0 commit comments

Comments
 (0)