@BeforeClass
  public static void setUp() throws Exception {
    // in the test we shutdown the only master and after restarting its port will be changed, so the
    // default rpc region server can not work
    UTIL.getConfiguration().set(HConstants.CLIENT_CONNECTION_REGISTRY_IMPL_CONF_KEY,
      HConstants.ZK_CONNECTION_REGISTRY_CLASS);
    UTIL.startMiniCluster(1);
    UTIL.createTable(NAME, FAMILY).close();
    UTIL.waitTableAvailable(NAME);
  }
Simulate the scenario described in HBASE-26245, where we clean the WAL directory and try to start
the cluster.
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestRestartWithEmptyWALDirectory.java