@Override
  public final void preTearDown() throws Exception {
    // might get ServerConnectivityExceptions during shutdown
    expectedEx =
        IgnoredException.addIgnoredException(ServerConnectivityException.class.getName());
    // close server
    vm0.invoke(InterestResultPolicyDUnitTest::closeCache);
    // close client
    vm1.invoke(InterestResultPolicyDUnitTest::closeCache);
  }
Closes the cache on server and client
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/InterestResultPolicyDUnitTest.java