private void deleteTransaction(long txnId) throws SQLException {
    deleteTransaction(txnId, txnId);
  }
Test openTxn and getOpenTxnList calls on TxnStore.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/txn/TestOpenTxn.java