private void waitForMembersToLogMessage(Pattern pattern) {
    for (String name : memberNames) {
      await().untilAsserted(() -> assertThat(logsForMember(name))
          .as("The logs for member " + name + " include a line matching \"" + pattern + "\"")
          .haveAtLeast(1, linesMatching(pattern)));
    }
  }
This test verifies that rotating to an untrusted certificate causes an exception when the
client tries to form a new secure connection. This is a sanity check that certificates are
being dynamically updated.
geode-assembly/src/acceptanceTest/java/org/apache/geode/ssl/CertificateRotationTest.java