@AfterClass
  public static void afterTest() throws Exception {
    miniHS2.stop();
  }
TestMiniHS2StateWithNoZookeeper.
This tests HS2 shutdown is not triggered by CloseSession operation 
while HS2 has never been registered with ZooKeeper.
itests/hive-unit/src/test/java/org/apache/hive/service/cli/thrift/TestMiniHS2StateWithNoZookeeper.java