@AfterClass
  public static void tearDown() throws Exception {
    LOG.info("Shutting down metastore.");

    HiveMetaStoreClient hmsc = new HiveMetaStoreClient(conf);
    hmsc.dropDatabase(dbName, true, true, true);
  }
Test to check PartitionSpec support in HiveMetaStore.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStorePartitionSpecs.java