@Test
  public void testTxnTypeWithLocklessReadsEnabled() throws Exception {
    enableLocklessReadsFeature(true);
    Assert.assertEquals(AcidUtils.getTxnType(conf, ParseUtils.parse(query, new Context(conf))), txnType);
  }
Transaction type derived from the original query test.
ql/src/test/org/apache/hadoop/hive/ql/parse/TestParseUtils.java