Skip to content

Commit

Permalink
Drop unused @ThirdParty tests (elastic#118432)
Browse files Browse the repository at this point in the history
We don't run any such tests in CI, and probably haven't even run them
manually for years. The only such test with this annotation is a trivial
smoke test for `discovery-ec2` that is equally well covered by the Java
REST test suite.
  • Loading branch information
DaveCTurner authored Dec 11, 2024
1 parent 6209b4f commit 5e467bf
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 127 deletions.
1 change: 0 additions & 1 deletion plugins/discovery-ec2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
apply plugin: 'elasticsearch.internal-cluster-test'
apply plugin: 'elasticsearch.internal-java-rest-test'

esplugin {
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import io.netty.util.concurrent.GlobalEventExecutor;

import com.carrotsearch.randomizedtesting.RandomizedContext;
import com.carrotsearch.randomizedtesting.annotations.TestGroup;
import com.carrotsearch.randomizedtesting.generators.RandomNumbers;
import com.carrotsearch.randomizedtesting.generators.RandomPicks;

Expand Down Expand Up @@ -273,26 +272,6 @@
@LuceneTestCase.SuppressFileSystems("ExtrasFS") // doesn't work with potential multi data path from test cluster yet
public abstract class ESIntegTestCase extends ESTestCase {

/**
* Property that controls whether ThirdParty Integration tests are run (not the default).
*/
public static final String SYSPROP_THIRDPARTY = "tests.thirdparty";

/**
* Annotation for third-party integration tests.
* <p>
* These are tests, which require a third-party service in order to run. They
* may require the user to manually configure an external process (such as rabbitmq),
* or may additionally require some external configuration (e.g. AWS credentials)
* via the {@code tests.config} system property.
*/
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@TestGroup(enabled = false, sysProperty = ESIntegTestCase.SYSPROP_THIRDPARTY)
public @interface ThirdParty {
}

/** node names of the corresponding clusters will start with these prefixes */
public static final String SUITE_CLUSTER_NODE_PREFIX = "node_s";
public static final String TEST_CLUSTER_NODE_PREFIX = "node_t";
Expand Down

0 comments on commit 5e467bf

Please sign in to comment.