@Override
      public void run2() {
        final AttributesFactory factory = new AttributesFactory();
        factory.setPartitionAttributes(
            new PartitionAttributesFactory().setRedundantCopies(0).setLocalMaxMemory(0).create());
        final PartitionedRegion pr = (PartitionedRegion) createRootRegion(name, factory.create());
        assertNotNull(pr);
      }
Tests a toData that always throws an IOException. This test does a put with the bad to data from
an accessor to see if it will keep trying to resend the put to the data store
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/PRBadToDataDUnitTest.java