Class AbstractThirdPartyRepositoryTestCase

java.lang.Object
org.junit.Assert
org.apache.lucene.util.LuceneTestCase
org.elasticsearch.test.ESTestCase
org.elasticsearch.test.ESSingleNodeTestCase
org.elasticsearch.repositories.AbstractThirdPartyRepositoryTestCase

public abstract class AbstractThirdPartyRepositoryTestCase extends ESSingleNodeTestCase
  • Constructor Details

    • AbstractThirdPartyRepositoryTestCase

      public AbstractThirdPartyRepositoryTestCase()
  • Method Details

    • nodeSettings

      protected org.elasticsearch.common.settings.Settings nodeSettings()
      Description copied from class: ESSingleNodeTestCase
      Additional settings to add when creating the node. Also allows overriding the default settings.
      Overrides:
      nodeSettings in class ESSingleNodeTestCase
    • credentials

      protected abstract org.elasticsearch.common.settings.SecureSettings credentials()
    • createRepository

      protected abstract void createRepository(String repoName)
    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class ESSingleNodeTestCase
      Throws:
      Exception
    • tearDown

      public void tearDown() throws Exception
      Overrides:
      tearDown in class ESSingleNodeTestCase
      Throws:
      Exception
    • testCreateSnapshot

      public void testCreateSnapshot()
    • testListChildren

      public void testListChildren() throws Exception
      Throws:
      Exception
    • testCleanup

      public void testCleanup() throws Exception
      Throws:
      Exception
    • assertCleanupResponse

      protected void assertCleanupResponse(org.elasticsearch.action.admin.cluster.repositories.cleanup.CleanupRepositoryResponse response, long bytes, long blobs)
    • getRepository

      protected org.elasticsearch.repositories.blobstore.BlobStoreRepository getRepository()