Class AbstractMultiClustersTestCase

java.lang.Object
org.junit.Assert
org.apache.lucene.tests.util.LuceneTestCase
org.opensearch.test.OpenSearchTestCase
org.opensearch.test.AbstractMultiClustersTestCase

public abstract class AbstractMultiClustersTestCase extends OpenSearchTestCase
  • Field Details

  • Constructor Details

    • AbstractMultiClustersTestCase

      public AbstractMultiClustersTestCase()
  • Method Details

    • remoteClusterAlias

      protected Collection<String> remoteClusterAlias()
    • nodePlugins

      protected Collection<Class<? extends org.opensearch.plugins.Plugin>> nodePlugins(String clusterAlias)
    • client

      protected final org.opensearch.transport.client.Client client()
    • client

      protected final org.opensearch.transport.client.Client client(String clusterAlias)
    • cluster

      protected final InternalTestCluster cluster(String clusterAlias)
    • clusters

      protected final Map<String, InternalTestCluster> clusters()
    • reuseClusters

      protected boolean reuseClusters()
    • startClusters

      public final void startClusters() throws Exception
      Throws:
      Exception
    • assertAfterTest

      public void assertAfterTest() throws Exception
      Throws:
      Exception
    • stopClusters

      public static void stopClusters() throws IOException
      Throws:
      IOException
    • disconnectFromRemoteClusters

      protected void disconnectFromRemoteClusters() throws Exception
      Throws:
      Exception
    • configureAndConnectsToRemoteClusters

      protected void configureAndConnectsToRemoteClusters() throws Exception
      Throws:
      Exception