@BeforeClass
  public static void setUpBeforeClass() throws Exception {
    StartTestingClusterOption option = StartTestingClusterOption.builder().numRegionServers(3)
      .rsClass(MyRegionServer.class).numDataNodes(3).build();
    TEST_UTIL.startMiniCluster(option);
  }
Tests handling of meta-carrying region server failover.
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMetaShutdownHandler.java