@Before
    public void ensurePreviousBackupTestsAreCleanedUp() throws Exception {
      // Every operation here may not be necessary for any given test,
      // some often being no-ops. the goal is to help ensure atomicity
      // of that tests that implement TestBackupBase
      try (BackupAdmin backupAdmin = getBackupAdmin()) {
        backupManager.finishBackupSession();
        backupAdmin.listBackupSets().forEach(backupSet -> {
          try {
            backupAdmin.deleteBackupSet(backupSet.getName());
          } catch (IOException ignored) {
          }
        });
      } catch (Exception ignored) {
      }
      Arrays.stream(TEST_UTIL.getAdmin().listTableNames())
        .filter(tableName -> !tableName.isSystemTable()).forEach(tableName -> {
          try {
            TEST_UTIL.truncateTable(tableName);
          } catch (IOException ignored) {
          }
        });
      TEST_UTIL.getMiniHBaseCluster().getRegionServerThreads().forEach(rst -> {
        try {
          LogRoller walRoller = rst.getRegionServer().getWalRoller();
          walRoller.requestRollAll();
          walRoller.waitUntilWalRollFinished();
        } catch (Exception ignored) {
        }
      });
    }
This class is only a base for other integration-level backup tests. Do not add tests here.
TestBackupSmallTests is where tests that don't require bring machines up/down should go All other
tests should have their own classes and extend this one
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupBase.java