@After
  public void clearCatalogCache() throws MetaException, NoSuchObjectException {
    List<String> catalogs = objectStore.getCatalogs();
    for (String catalog : catalogs) objectStore.dropCatalog(catalog);
  }
Tests that catalogs are properly cached.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCatalogCaching.java