Class AbstractThirdPartyRepositoryTestCase

    • Constructor Detail

      • AbstractThirdPartyRepositoryTestCase

        public AbstractThirdPartyRepositoryTestCase()
    • Method Detail

      • createRepository

        protected abstract void createRepository​(java.lang.String repoName)
      • setUp

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

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

        public void testCreateSnapshot()
      • testListChildren

        public void testListChildren()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assertBlobsByPrefix

        protected void assertBlobsByPrefix​(BlobPath path,
                                           java.lang.String prefix,
                                           java.util.Map<java.lang.String,​BlobMetaData> blobs)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCleanup

        public void testCleanup()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assertCleanupResponse

        protected void assertCleanupResponse​(CleanupRepositoryResponse response,
                                             long bytes,
                                             long blobs)
      • assertCorruptionVisible

        protected boolean assertCorruptionVisible​(BlobStoreRepository repo,
                                                  java.util.concurrent.Executor executor)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assertConsistentRepository

        protected void assertConsistentRepository​(BlobStoreRepository repo,
                                                  java.util.concurrent.Executor executor)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assertDeleted

        protected void assertDeleted​(BlobPath path,
                                     java.lang.String name)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assertChildren

        protected void assertChildren​(BlobPath path,
                                      java.util.Collection<java.lang.String> children)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception