mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-30 03:48:54 +00:00
Necessary since we also disable unit tests and testingConventions would fail in FIPS 140 mode.
This commit is contained in:
parent
c15cd33c88
commit
02bf5fff0f
@ -182,8 +182,11 @@ if (project != rootProject) {
|
||||
'forbiddenApisTest', 'forbiddenApisIntegTest', 'forbiddenApisTestFixtures')
|
||||
jarHell.enabled = false
|
||||
thirdPartyAudit.enabled = false
|
||||
if (Boolean.parseBoolean(System.getProperty("tests.fips.enabled"))) {
|
||||
if (org.elasticsearch.gradle.info.BuildParams.inFipsJvm) {
|
||||
// We don't support running gradle with a JVM that is in FIPS 140 mode, so we don't test it.
|
||||
// WaitForHttpResourceTests tests would fail as they use JKS/PKCS12 keystores
|
||||
test.enabled = false
|
||||
testingConventions.enabled = false
|
||||
}
|
||||
|
||||
configurations {
|
||||
|
Loading…
x
Reference in New Issue
Block a user