private void createChildPR_withPersistence(String parentRegionName, String childRegionName,
      String diskStoreName, long recoveryDelay, int redundantCopies, long startupRecoveryDelay) {
    createDiskStore(diskStoreName);

    PartitionAttributesFactory partitionAttributesFactory = new PartitionAttributesFactory();
    partitionAttributesFactory.setColocatedWith(parentRegionName);
    partitionAttributesFactory.setRecoveryDelay(recoveryDelay);
    partitionAttributesFactory.setRedundantCopies(redundantCopies);
    partitionAttributesFactory.setStartupRecoveryDelay(startupRecoveryDelay);

    RegionFactory regionFactory = getCache().createRegionFactory(PARTITION_PERSISTENT);
    regionFactory.setDiskStoreName(diskStoreName);
    regionFactory.setPartitionAttributes(partitionAttributesFactory.create());

    regionFactory.create(childRegionName);
  }
Test that a rebalance will regions are in the middle of recovery doesn't cause issues.

This is slightly different than {@link #testRebalanceWithOfflineChildRegion(String)} because
in this case all of the regions have been created, but they are in the middle of actually
recovering buckets from disk.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/PersistentColocatedPartitionedRegionDistributedTest.java