Disable thirdPartyAudit tests when running in a FIPS JVM (#49115)

This fixes a regression introduced in #42042. The logic here was
mistakenly inverted such that we only run these tests in a FIPS JVM
which is the opposite of what we intend.
This commit is contained in:
Mark Vieira 2019-11-14 16:44:41 -08:00
parent 6f14a63059
commit a370008856
No known key found for this signature in database
GPG Key ID: CA947EF7E6D4B105
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ test {
thirdPartyAudit.onlyIf {
// FIPS JVM includes manny classes from bouncycastle which count as jar hell for the third party audit,
// rather than provide a long list of exclusions, disable the check on FIPS.
BuildParams.inFipsJvm
BuildParams.inFipsJvm == false
}
/*