@Before
  public void setUp() throws Exception {

    if (cache != null) {
      cache.close(); // fault tolerance
    }
    CacheFactory cacheFactory = new CacheFactory();
    cache = (InternalCache) cacheFactory.set(MCAST_PORT, "0").create();

  }
boolen to quit the for loop *
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/ha/BlockingHARegionJUnitTest.java