private HRegion[] createTable(boolean skipWAL) throws Exception {
    TableName tableName = getTableName(skipWAL);
    TableDescriptorBuilder builder =
      TableDescriptorBuilder.newBuilder(tableName).setRegionReplication(NB_SERVERS)
        .setColumnFamilies(Arrays.asList(ColumnFamilyDescriptorBuilder.of(FAM1),
          ColumnFamilyDescriptorBuilder.of(FAM2), ColumnFamilyDescriptorBuilder.of(FAM3),
          ColumnFamilyDescriptorBuilder.of(FAM4), ColumnFamilyDescriptorBuilder.of(FAM5),
          ColumnFamilyDescriptorBuilder.of(FAM6)));
    if (skipWAL) {
      builder.setDurability(Durability.SKIP_WAL);

    }
    TableDescriptor tableDescriptor = builder.build();

    HTU.getAdmin().createTable(tableDescriptor);
    final HRegion[] regions = new HRegion[NB_SERVERS];
    for (int i = 0; i < NB_SERVERS; i++) {
      HRegionServer rs = HTU.getMiniHBaseCluster().getRegionServer(i);
      List<HRegion> onlineRegions = rs.getRegions(tableName);
      for (HRegion region : onlineRegions) {
        int replicaId = region.getRegionInfo().getReplicaId();
        assertTrue(regions[replicaId] == null);
        regions[region.getRegionInfo().getReplicaId()] = region;
      }
    }
    for (Region region : regions) {
      assertNotNull(region);
    }
    return regions;
  }
This test is for HBASE-26933,make the new region replication framework introduced by
HBASE-26233 work for table which DURABILITY is Durability.SKIP_WAL.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/regionreplication/TestRegionReplicationForSkipWAL.java