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.
This commit is contained in:
parent
d412230cda
commit
06758f579c
|
@ -18,3 +18,7 @@ dependencies {
|
|||
dependencyLicenses {
|
||||
mapping from: /bc.*/, to: 'bouncycastle'
|
||||
}
|
||||
|
||||
if (inFipsJvm) {
|
||||
test.enabled = false
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.xpack.security.cli;
|
||||
|
||||
import org.elasticsearch.test.ESTestCase;
|
||||
|
||||
public class TestSuiteCannotBeEmptyTests extends ESTestCase {
|
||||
|
||||
public void testIsHereSoThisSuiteIsNonEmpty() {
|
||||
// This is needed on a FIPS JVM as the rest of the suite is skipped
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue