Class AbstractMultiClustersTestCase

java.lang.Object
org.junit.Assert
org.apache.lucene.util.LuceneTestCase
org.elasticsearch.test.ESTestCase
org.elasticsearch.test.AbstractMultiClustersTestCase

public abstract class AbstractMultiClustersTestCase extends ESTestCase
  • Field Details

  • Constructor Details

    • AbstractMultiClustersTestCase

      public AbstractMultiClustersTestCase()
  • Method Details

    • remoteClusterAlias

      protected Collection<String> remoteClusterAlias()
    • nodePlugins

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

      protected org.elasticsearch.common.settings.Settings nodeSettings()
    • client

      protected final org.elasticsearch.client.internal.Client client()
    • client

      protected final org.elasticsearch.client.internal.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
    • filteredWarnings

      public List<String> filteredWarnings()
      Overrides:
      filteredWarnings in class ESTestCase
    • 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
    • configureRemoteCluster

      protected void configureRemoteCluster(String clusterAlias, Collection<String> seedNodes) throws Exception
      Throws:
      Exception