Skip to content

Commit 86a66ce

Browse files
committed
Correctly disable tests for FIPS JVMs
Replace assertFalse with assumeFalse Resolves: elastic#38212
1 parent 7023583 commit 86a66ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,8 @@ public void testClientSucceedsWithCertificateAuthorities() throws IOException {
143143
}
144144
}
145145

146-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/38212")
147146
public void testClientSucceedsWithVerificationDisabled() throws IOException {
148-
assertFalse("Cannot disable verification in FIPS JVM", inFipsJvm());
147+
assumeFalse("Cannot disable verification in FIPS JVM", inFipsJvm());
149148
final List<Thread> threads = new ArrayList<>();
150149
final Settings settings = Settings.builder()
151150
.put("path.home", createTempDir())

0 commit comments

Comments
 (0)