Class AbstractIncrementalBackupTest


  • public abstract class AbstractIncrementalBackupTest
    extends SolrCloudTestCase
    Used to test the incremental method of backup/restoration (as opposed to the deprecated 'full snapshot' method).

    For a similar test harness for snapshot backup/restoration see AbstractCloudBackupRestoreTestCase

    • Constructor Detail

      • AbstractIncrementalBackupTest

        public AbstractIncrementalBackupTest()
    • Method Detail

      • setUpTrackingRepo

        public void setUpTrackingRepo()
      • getCollectionNamePrefix

        public abstract String getCollectionNamePrefix()
        Returns:
        The name of the collection to use.
      • getCollectionName

        public String getCollectionName()
      • setTestSuffix

        public void setTestSuffix​(String testSuffix)
      • getBackupLocation

        public abstract String getBackupLocation()
        Returns:
        The absolute path for the backup location. Could return null.
      • testRestoreToOriginalCollection

        public void testRestoreToOriginalCollection()
                                             throws Exception
        Throws:
        Exception
      • testBackupIncremental

        @Slow
        public void testBackupIncremental()
                                   throws Exception
        Throws:
        Exception