@Override
  @SuppressWarnings("deprecation")
  protected void createReplicateRegion(String regionName, File[] diskDirs,
      boolean diskSynchronous) {
    getCache();

    DiskWriteAttributesFactory diskWriteAttributesFactory = new DiskWriteAttributesFactory();
    diskWriteAttributesFactory.setMaxOplogSize(1);
    diskWriteAttributesFactory.setSynchronous(diskSynchronous);

    RegionFactory regionFactory = new RegionFactory();
    regionFactory.setDataPolicy(DataPolicy.PERSISTENT_REPLICATE);
    regionFactory.setScope(Scope.DISTRIBUTED_ACK);
    regionFactory.setDiskDirs(diskDirs);
    regionFactory.setDiskWriteAttributes(diskWriteAttributesFactory.create());

    regionFactory.create(regionName);
  }
Override to use deprecated APIs for the creation of disk and region. This test class can
probably be deleted.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/persistence/PersistentRecoveryOrderOldConfigDUnitTest.java