private void verifyListMembers(int locatorPort) {
    final GfshExecution members =
        GfshScript.of("connect --locator=" + hostName + "[" + locatorPort + "]")
            .and("list members")
            .execute(currentGfsh, tempFolder);

    assertThat(members.getOutputText())
        .contains("locator1")
        .contains("locator2")
        .contains("server1")
        .contains("server2");

    GfshScript.of("disconnect").execute(currentGfsh, tempFolder);
  }
This test iterates through the versions of Geode and executes client compatibility with
the current version of Geode.
geode-assembly/src/upgradeTest/java/org/apache/geode/management/RollingUpgradeWithSslDUnitTest.java