From 542656abfe8848f800eabeaf1157321cc74e66e3 Mon Sep 17 00:00:00 2001 From: Finn Carroll Date: Fri, 13 Dec 2024 10:40:11 -0800 Subject: [PATCH] Remove IntegTestCase definition. Unused. Signed-off-by: Finn Carroll --- plugins/transport-grpc/build.gradle | 2 - .../grpc/OpenSearchGrpcIntegTestCase.java | 44 ------------------- 2 files changed, 46 deletions(-) delete mode 100644 plugins/transport-grpc/src/internalClusterTest/java/org/opensearch/transport/grpc/OpenSearchGrpcIntegTestCase.java diff --git a/plugins/transport-grpc/build.gradle b/plugins/transport-grpc/build.gradle index e1c47eecd6675..89f6b54dd8dff 100644 --- a/plugins/transport-grpc/build.gradle +++ b/plugins/transport-grpc/build.gradle @@ -8,8 +8,6 @@ import org.gradle.api.attributes.java.TargetJvmEnvironment * compatible open source license. */ -apply plugin: 'opensearch.internal-cluster-test' - opensearchplugin { description 'gRPC based transport implementation' classname 'org.opensearch.transport.grpc.GrpcModulePlugin' diff --git a/plugins/transport-grpc/src/internalClusterTest/java/org/opensearch/transport/grpc/OpenSearchGrpcIntegTestCase.java b/plugins/transport-grpc/src/internalClusterTest/java/org/opensearch/transport/grpc/OpenSearchGrpcIntegTestCase.java deleted file mode 100644 index 0dae218440e4e..0000000000000 --- a/plugins/transport-grpc/src/internalClusterTest/java/org/opensearch/transport/grpc/OpenSearchGrpcIntegTestCase.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - */ - -package org.opensearch.transport.grpc; - -import org.opensearch.common.settings.Settings; -import org.opensearch.common.util.FeatureFlags; -import org.opensearch.plugins.Plugin; -import org.opensearch.test.OpenSearchIntegTestCase; - -import java.util.Collection; -import java.util.List; - -public abstract class OpenSearchGrpcIntegTestCase extends OpenSearchIntegTestCase { - @Override - protected boolean ignoreExternalCluster() { - return true; - } - - @Override - protected boolean addMockTransportService() { - return true; - } - - @Override - protected Settings featureFlagSettings() { - return Settings.builder().put(super.featureFlagSettings()).put(FeatureFlags.GRPC_EXPERIMENTAL, true).build(); - } - - @Override - protected Settings nodeSettings(int nodeOrdinal) { - return super.nodeSettings(nodeOrdinal); - } - - @Override - protected Collection> nodePlugins() { - return List.of(GrpcModulePlugin.class); - } -}