From 4cbcc1d659c7d51703345cce01f51fb24f4e9bde Mon Sep 17 00:00:00 2001 From: Tim Vernum Date: Wed, 8 Aug 2018 13:47:18 +1000 Subject: [PATCH] [TEST] Add empty test case for FIPS All other tests in security:cli are skipped on FIPS JVMs --- .../cli/TestSuiteCannotBeEmptyTests.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 x-pack/plugin/security/cli/src/test/java/org/elasticsearch/xpack/security/cli/TestSuiteCannotBeEmptyTests.java 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 new file mode 100644 index 00000000000..6079a9e8670 --- /dev/null +++ b/x-pack/plugin/security/cli/src/test/java/org/elasticsearch/xpack/security/cli/TestSuiteCannotBeEmptyTests.java @@ -0,0 +1,16 @@ +/* + * 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 + } +}