@After
  public void tearDown() throws Exception {
    cluster.shutdown();
    cluster.join();
    testUtil.shutdownMiniZKCluster();
    testUtil.shutdownMiniDFSCluster();
  }
Tests the boot order indifference between regionserver and master
hbase-server/src/test/java/org/apache/hadoop/hbase/TestClusterBootOrder.java