private List<Future<Void>> sniff(TaskType taskType, RegionStdOutSink regionSink)
      throws Exception {
      LOG.debug("Reading list of tables");
      List<Future<Void>> taskFutures = new LinkedList<>();
      for (TableDescriptor td : admin.listTableDescriptors()) {
        if (
          admin.tableExists(td.getTableName()) && admin.isTableEnabled(td.getTableName())
            && (!td.getTableName().equals(writeTableName))
        ) {
          LongAdder readLatency =
            regionSink.initializeAndGetReadLatencyForTable(td.getTableName().getNameAsString());
          taskFutures.addAll(CanaryTool.sniff(admin, sink, td, executor, taskType,
            this.rawScanEnabled, readLatency, readAllCF));
        }
      }
      return taskFutures;
    }
Returns List of tables to use in test.
hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java