private void awaitConnectedServerCount(final int expectedServerCount) {
    await()
        .until(() -> findPool(uniqueName).getConnectedServerCount() == expectedServerCount);
  }
TRAC #36526: getActiveServers can return wrong answer
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/GetConnectedServerCountRegressionTest.java