private void updateCache(CachedStore cachedStore) throws Exception {
    int maxTries = 100;
    long updateCountBefore = cachedStore.getCacheUpdateCount();
    // Start the CachedStore update service
    CachedStore.startCacheUpdateService(cachedStore.getConf(), true, false);
    while ((cachedStore.getCacheUpdateCount() != (updateCountBefore + 1)) && (maxTries-- > 0)) {
      Thread.sleep(1000);
    }
    if (maxTries <= 0) {
      throw new Exception("Unable to update SharedCache in 100 attempts; possibly some bug");
    }
    CachedStore.stopCacheUpdateService(100);
  }
Create 25 partition objects for table returned by createPartitionedTableObject
Partitions are: a/1, a/2, ... e/4, e/5
@param table the table for which the partitions are created
@return an object encapsulating the partition objects and names
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java