@After
  public void tearDown() throws Exception {

    if (--tests == 0) {
      cleanup();
      shutdownMiniDfs();
    }
  }
Tests DDL with remote metastore service and second namenode (HIVE-6374)
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/TestDDLWithRemoteMetastoreSecondNamenode.java