Skip to content

Commit 4fa1d0e

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 52e6fdf commit 4fa1d0e

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

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

+6-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,9 @@ dependencies {
1717

1818
dependencyLicenses {
1919
mapping from: /bc.*/, to: 'bouncycastle'
20-
}
20+
}
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

-16
This file was deleted.

0 commit comments

Comments
 (0)