@Test
  public void testReplicateToReplicaWhenSkipWAL() throws Exception {
    final HRegion[] skipWALRegions = this.createTable(true);
    byte[] rowKey1 = Bytes.toBytes(1);
    byte[] value1 = Bytes.toBytes(2);

    byte[] rowKey2 = Bytes.toBytes(2);
    byte[] value2 = Bytes.toBytes(4);

    // Test the table is skipWAL
    skipWALRegions[0].batchMutate(new Mutation[] { new Put(rowKey1).addColumn(FAM1, QUAL1, value1),
      new Put(rowKey2).addColumn(FAM2, QUAL2, value2) });

    try (Table skipWALTable = HTU.getConnection().getTable(getTableName(true))) {
      HTU.waitFor(30000, () -> checkReplica(skipWALTable, FAM1, QUAL1, rowKey1, value1)
        && checkReplica(skipWALTable, FAM2, QUAL2, rowKey2, value2));
    }

    byte[] rowKey3 = Bytes.toBytes(3);
    byte[] value3 = Bytes.toBytes(6);
    byte[] rowKey4 = Bytes.toBytes(4);
    byte[] value4 = Bytes.toBytes(8);
    byte[] rowKey5 = Bytes.toBytes(5);
    byte[] value5 = Bytes.toBytes(10);
    byte[] rowKey6 = Bytes.toBytes(6);
    byte[] value6 = Bytes.toBytes(12);

    // Test the table is normal,but the Put is skipWAL
    final HRegion[] normalRegions = this.createTable(false);
    normalRegions[0].batchMutate(new Mutation[] { new Put(rowKey3).addColumn(FAM3, QUAL3, value3),
      new Put(rowKey4).addColumn(FAM4, QUAL4, value4).setDurability(Durability.SKIP_WAL),
      new Put(rowKey5).addColumn(FAM5, QUAL5, value5).setDurability(Durability.SKIP_WAL),
      new Put(rowKey6).addColumn(FAM6, QUAL6, value6) });

    try (Table normalTable = HTU.getConnection().getTable(getTableName(false))) {
      HTU.waitFor(30000,
        () -> checkReplica(normalTable, FAM3, QUAL3, rowKey3, value3)
          && checkReplica(normalTable, FAM4, QUAL4, rowKey4, value4)
          && checkReplica(normalTable, FAM5, QUAL5, rowKey5, value5)
          && checkReplica(normalTable, FAM6, QUAL6, rowKey6, value6));
    }
  }
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