void waitWhileNotEnoughEvents(int eventCount) {
      long maxMillis = System.currentTimeMillis() + (long) 60000;
      synchronized (CONTROL_LOCK) {
        try {
          while (events.size() < eventCount) {
            long waitMillis = maxMillis - System.currentTimeMillis();
            if (waitMillis < 10) {
              break;
            }
            CONTROL_LOCK.wait(waitMillis);
          }
        } catch (InterruptedException abort) {
          fail("interrupted");
        }
      }
    }
Returns region attributes for a <code>LOCAL</code> region
geode-core/src/distributedTest/java/org/apache/geode/cache/ConnectionPoolDUnitTest.java