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 java.util.Collection<java.lang.String> remoteClusterAlias()
    • nodePlugins

      protected java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> nodePlugins​(java.lang.String clusterAlias)
    • client

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

      protected final org.elasticsearch.client.Client client​(java.lang.String clusterAlias)
    • cluster

      protected final InternalTestCluster cluster​(java.lang.String clusterAlias)
    • clusters

      protected final java.util.Map<java.lang.String,​InternalTestCluster> clusters()
    • reuseClusters

      protected boolean reuseClusters()
    • startClusters

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

      public void assertAfterTest() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • stopClusters

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

      protected void disconnectFromRemoteClusters() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • configureAndConnectsToRemoteClusters

      protected void configureAndConnectsToRemoteClusters() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • configureRemoteCluster

      protected void configureRemoteCluster​(java.lang.String clusterAlias, java.util.Collection<java.lang.String> seedNodes) throws java.lang.Exception
      Throws:
      java.lang.Exception