diff --git a/x-pack/plugin/security/cli/build.gradle b/x-pack/plugin/security/cli/build.gradle index 19b86dd91c78b..1a00b2a034000 100644 --- a/x-pack/plugin/security/cli/build.gradle +++ b/x-pack/plugin/security/cli/build.gradle @@ -18,3 +18,7 @@ dependencies { dependencyLicenses { mapping from: /bc.*/, to: 'bouncycastle' } + +if (inFipsJvm) { + test.enabled = false +} \ No newline at end of file diff --git a/x-pack/plugin/security/cli/src/test/java/org/elasticsearch/xpack/security/cli/TestSuiteCannotBeEmptyTests.java b/x-pack/plugin/security/cli/src/test/java/org/elasticsearch/xpack/security/cli/TestSuiteCannotBeEmptyTests.java deleted file mode 100644 index 6079a9e867091..0000000000000 --- a/x-pack/plugin/security/cli/src/test/java/org/elasticsearch/xpack/security/cli/TestSuiteCannotBeEmptyTests.java +++ /dev/null @@ -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 - } -}