private void waitForAcceptsInProgressToBe(final int target) throws Exception {
    await().timeout(300, TimeUnit.SECONDS).until(() -> {
      int actual = getAcceptsInProgress();
      return actual == getAcceptsInProgress();
    });
  }
Tests the ClientMembership API including ClientMembershipListener.

@since GemFire 4.2.1
geode-core/src/distributedTest/java/org/apache/geode/cache30/ClientMembershipDUnitTest.java