public void verifyIfCkptSet(String dbName, String dumpDir) throws Exception {
    Database db = getDatabase(dbName);
    verifyIfCkptSet(db.getParameters(), dumpDir);

    List<String> tblNames = getAllTables(dbName);
    verifyIfCkptSetForTables(dbName, tblNames, dumpDir);
  }
verify's result without regard for ordering.
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java