Class AbstractIndexRecoveryIntegTestCase

java.lang.Object
org.junit.Assert
org.apache.lucene.util.LuceneTestCase
org.elasticsearch.test.ESTestCase
org.elasticsearch.test.ESIntegTestCase
org.elasticsearch.indices.recovery.AbstractIndexRecoveryIntegTestCase

public abstract class AbstractIndexRecoveryIntegTestCase extends ESIntegTestCase
  • Constructor Details

    • AbstractIndexRecoveryIntegTestCase

      public AbstractIndexRecoveryIntegTestCase()
  • Method Details

    • nodePlugins

      protected Collection<Class<? extends org.elasticsearch.plugins.Plugin>> nodePlugins()
      Description copied from class: ESIntegTestCase
      Returns a collection of plugins that should be loaded on each node.
      Overrides:
      nodePlugins in class ESIntegTestCase
    • beforeIndexDeletion

      protected void beforeIndexDeletion() throws Exception
      Overrides:
      beforeIndexDeletion in class ESIntegTestCase
      Throws:
      Exception
    • checkTransientErrorsDuringRecoveryAreRetried

      protected void checkTransientErrorsDuringRecoveryAreRetried(String recoveryActionToBlock) throws Exception
      Throws:
      Exception
    • checkDisconnectsWhileRecovering

      public void checkDisconnectsWhileRecovering(String recoveryActionToBlock) throws Exception
      Throws:
      Exception
    • checkDisconnectsDuringRecovery

      public void checkDisconnectsDuringRecovery(boolean useSnapshotBasedRecoveries) throws Exception
      Throws:
      Exception