@Before
  public void setUp() throws Exception {
    conf.setVar(HiveConf.ConfVars.METASTORE_CONNECTION_POOLING_TYPE, "None");
    TestTxnDbUtil.setConfValues(conf);
    TestTxnDbUtil.prepDb(conf);
    txnHandler = TxnUtils.getTxnStore(conf);
  }
This test checks that the transaction handler works when the connection pool is set to none.
ql/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandlerNoConnectionPool.java