[
https://issues.apache.org/jira/browse/HIVE-18495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16332378#comment-16332378
]
Zoltan Haindrich commented on HIVE-18495:
-----------------------------------------
#1)
* ability to run tests from ide - works for me at least; with eclipse; for the
record: I'm narrowing down the number of project loaded into the ide; I mostly
only load {{ql}} by using {{mvn eclipse:eclipse -pl ql}} ; if the dark side of
the metastore is also in the ide; the datanucleus enhanced classes may or may
not work...
* currently uses tez as execution engine
* I've copied MiniZooKeeperCluster class from hbase tests which is needed to
have a zookeeper; qtest-s are depending on an hbase test artifact...it seemed
more straightforward to just copy this class; instead of adding
hbase-server:tests artifact
* It's still a little rough around the edges...I'm not entirely satisfied how
the driver is created/used in the test ; and probably some kind of dataset
support would also make the test class more straight.
[~jcamachorodriguez],[~ashutoshc]: could you please take a look?
> JUnit rule to enable Driver level testing
> -----------------------------------------
>
> Key: HIVE-18495
> URL: https://issues.apache.org/jira/browse/HIVE-18495
> Project: Hive
> Issue Type: Sub-task
> Components: Testing Infrastructure
> Reporter: Zoltan Haindrich
> Assignee: Zoltan Haindrich
> Priority: Major
> Attachments: HIVE-18495.01.patch
>
>
> I've tried to write a case for a sophisticated check...it worked so well that
> I've started using it and eventually created a junit rule to make it easier
> to reuse
> Currently it takes ~15-25sec to run a test case with this framework (from
> which most of the time is the launch time of all kind of stuff which are
> needed to run a driver command).
> * enable to write JUnit tests which has access to the {{IDriver}} level
> * leave out the cli-driver; it sometimes causes problems
> * write tests at the {{ql}} module
> * it should also work from the IDE without changing anything
> Note: JUnit 5 would be great for this task; but unfortunately junit5 needs
> maven-surefire 2.19.1 ; which causes all kinds of problems for hive devs
> using idea...so that's not an option.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)