From 21c0788a2fb3a763cb3f0470c755776a4253e846 Mon Sep 17 00:00:00 2001 From: Jackie Han Date: Mon, 25 Sep 2023 09:32:59 -0700 Subject: [PATCH] remove indices integration tests for now Signed-off-by: Jackie Han --- .../FlowFrameworkIndicesHandlerTests.java | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 src/test/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandlerTests.java diff --git a/src/test/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandlerTests.java b/src/test/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandlerTests.java deleted file mode 100644 index 6f0a8b340..000000000 --- a/src/test/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandlerTests.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright OpenSearch Contributors - * 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.flowframework.indices; - -import org.opensearch.client.Client; -import org.opensearch.cluster.service.ClusterService; -import org.opensearch.core.action.ActionListener; -import org.opensearch.test.OpenSearchIntegTestCase; -import org.junit.Before; - -@OpenSearchIntegTestCase.ClusterScope(scope = OpenSearchIntegTestCase.Scope.TEST, numDataNodes = 2) -public class FlowFrameworkIndicesHandlerTests extends OpenSearchIntegTestCase { - - ClusterService clusterService; - Client client; - FlowFrameworkIndicesHandler flowFrameworkIndicesHandler; - - @Before - public void setUp() { - clusterService = clusterService(); - client = client(); - flowFrameworkIndicesHandler = new FlowFrameworkIndicesHandler(clusterService, client); - } - - public void testInitGlobalContextIndex() { - ActionListener listener = ActionListener.wrap(r -> { assertTrue(r); }, e -> { throw new RuntimeException(e); }); - flowFrameworkIndicesHandler.initGlobalContextIndexIfAbsent(listener); - } - -}