@Override
      public void run() {
        try {
          final AttributesFactory factory = new AttributesFactory();
          factory.setPartitionAttributes(new PartitionAttributesFactory().setRedundantCopies(0)
              .setLocalMaxMemory(100).create());
          final PartitionedRegion pr = (PartitionedRegion) createRootRegion(name, factory.create());
          assertNotNull(pr);
        } catch (final CacheException ex) {
          Assert.fail("While creating Partitioned region", ex);
        }
      }
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