@Override
  protected void verifyMaxInactiveInterval(int expected) throws IOException, URISyntaxException {
    super.verifyMaxInactiveInterval(expected);
    serverVM.invoke("verify max inactive interval", () -> {
      final InternalCache cache = ClusterStartupRule.getCache();
      Region<Object, HttpSession> region = cache.getRegion("gemfire_modules_sessions");
      region.values().forEach(session -> assertEquals(expected, session.getMaxInactiveInterval()));
    });
  }
Test that we don't leave native sessions in the container, wasting memory
geode-assembly/src/distributedTest/java/org/apache/geode/session/tests/GenericAppServerClientServerTest.java