@AfterClass
  public static void tearDown() throws Exception {
    UTIL.shutdownMiniCluster();
  }
Testcase to confirm that we will not hang when shutdown a cluster with no live region servers.
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestShutdownWithNoRegionServer.java