private void waitForPrefilledConnections(final int count, final String poolName)
      throws Exception {
    final PoolImpl pool = (PoolImpl) PoolManager.getAll().get(poolName);
    await().timeout(300, TimeUnit.SECONDS)
        .until(() -> pool.getConnectionCount() >= count);
  }
Test to make sure that the locator balancing load between two servers.
geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/LocatorLoadBalancingDUnitTest.java