[jira] [Commented] (HIVE-8721) Enable transactional unit tests against other databases

2014-11-26 Thread Alan Gates (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-8721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)


[jira] [Commented] (HIVE-8721) Enable transactional unit tests against other databases

2014-11-20 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan commented on HIVE-8721:


It will be awesome to have this extended for full metastore. Will make testing 
easy for regular tables easy as well.

 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)