Skip to content

Commit 02ed973

Browse files
committed
Mute security-cli tests in FIPS JVM (#32812)
All Unit tests in this module are muted in FIPS 140 JVMs and as such the CI run fails. This commit disables test task for the module in a FIPS JVM and reverts adding a dummy test in 4cbcc1.
1 parent c07a461 commit 02ed973

File tree

2 files changed

+5
-16
lines changed

2 files changed

+5
-16
lines changed

x-pack/plugin/security/cli/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ dependencies {
1818
dependencyLicenses {
1919
mapping from: /bc.*/, to: 'bouncycastle'
2020
}
21+
22+
if (inFipsJvm) {
23+
test.enabled = false
24+
}
25+

x-pack/plugin/security/cli/src/test/java/org/elasticsearch/xpack/security/cli/TestSuiteCannotBeEmptyTests.java

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)