@Test
  public void testBackupDescribe() throws Exception {
    LOG.info("test backup describe on a single table with data");

    String[] args = new String[] { "describe", "backup_2" };
    int ret = ToolRunner.run(conf1, new BackupDriver(), args);
    assertTrue(ret < 0);

    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    System.setErr(new PrintStream(baos));
    args = new String[] { "progress" };
    ToolRunner.run(TEST_UTIL.getConfiguration(), new BackupDriver(), args);

    String output = baos.toString();
    LOG.info("Output from progress: " + output);
    assertTrue(output.indexOf(BackupCommands.NO_ACTIVE_SESSION_FOUND) >= 0);
  }
Verify that describe works as expected if incorrect backup Id is supplied.
@throws Exception if creating the {@link BackupDriver} fails
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDescribe.java