@BeforeClass
  public static void beforeTest() throws Exception {
    HiveConf conf = UtilsForTest.getHiveOnTezConfFromDir("../../data/conf/tez/");
    TestTxnDbUtil.setConfValues(conf);
    TestTxnDbUtil.prepDb(conf);
    miniHS2 = new MiniHS2(conf, MiniHS2.MiniClusterType.TEZ);
    confOverlay.put(ConfVars.HIVE_SERVER2_ENABLE_DOAS.varname, "false");
    confOverlay.put(ConfVars.CREATE_TABLES_AS_ACID.varname, "true");
    miniHS2.start(confOverlay);
  }
End to end test with MiniHS2 with ACID enabled.
itests/hive-unit/src/test/java/org/apache/hive/jdbc/miniHS2/TestHiveServer2Acid.java