hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <>
Subject [jira] [Commented] (HIVE-8721) Enable transactional unit tests against other databases
Date Wed, 26 Nov 2014 21:09:12 GMT


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:
>             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

View raw message