@BeforeClass
  public static void beforeTest() throws Exception {
    JdbcWithMiniKdcSQLAuthTest.beforeTestBase(MiniHS2.HS2_ALL_MODE);
  }
JdbcWithMiniKdcSQLAuthTest for the case of hive.server2.transport.mode=all.
itests/hive-minikdc/src/test/java/org/apache/hive/minikdc/TestJdbcWithMiniKdcSQLAuthAll.java