void clearDirtyFlags() {
    isCatalogCacheDirty.set(false);
    isDatabaseCacheDirty.set(false);
    isTableCacheDirty.set(false);
  }
This resets the contents of the catalog cache so that we can re-fill it in another test.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/SharedCache.java