[ 
https://issues.apache.org/jira/browse/HIVE-8721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226814#comment-14226814
 ] 

Alan Gates commented on HIVE-8721:
----------------------------------

I'm fine to move this out of TxnDbUtil and put it somewhere more generic.  But 
I'm not sure where.  It works in TxnDbUtil because the transaction tests always 
start by calling TxnDbUtil.prepDb.  Is there an equivalent place we can 
guarantee gets called first in all unit tests?

> Enable transactional unit tests against other databases
> -------------------------------------------------------
>
>                 Key: HIVE-8721
>                 URL: https://issues.apache.org/jira/browse/HIVE-8721
>             Project: Hive
>          Issue Type: Test
>          Components: Testing Infrastructure, Transactions
>    Affects Versions: 0.14.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-8721.patch
>
>
> Since TxnHandler and subclasses use JDBC to directly connect to the 
> underlying database (rather than relying on DataNucleus) it is important to 
> test that all of the operations work against different database flavors.  An 
> easy way to do this is to enable the unit tests to run against an external 
> database.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to