@Override
      public void run() {
        config.setProperty(NAME, "sleeper");
        getCache(config);

        addIgnoredException("service failure");
        addIgnoredException(ForcedDisconnectException.class.getName());
        RegionFactory<String, String> regionFactory2 = getCache().createRegionFactory();
        regionFactory2.setScope(Scope.DISTRIBUTED_ACK);
        regionFactory2.setDataPolicy(DataPolicy.REPLICATE);
        regionFactory2.addCacheListener(getSleepingListener(true));

        regionFactory2.create("testRegion");
        myCache = getCache();
      }
Tests that a sick member is kicked out
geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/ClusterDistributionManagerDUnitTest.java