[
https://issues.apache.org/jira/browse/HIVE-20360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16593396#comment-16593396
]
Zoltan Haindrich commented on HIVE-20360:
-----------------------------------------
hmm...I've also bumped into this earlier...
I now have an idea which may make it transparently for everyone: How about
"skipping" the exclusions if "-Dqfile=..." is set?
> QTest: enable command line argument to force using a particular driver
> (test.force.driver)
> ------------------------------------------------------------------------------------------
>
> Key: HIVE-20360
> URL: https://issues.apache.org/jira/browse/HIVE-20360
> Project: Hive
> Issue Type: Improvement
> Components: Test
> Affects Versions: 3.1.0
> Reporter: Laszlo Bodor
> Assignee: Laszlo Bodor
> Priority: Minor
> Fix For: 4.0.0
>
> Attachments: HIVE-20360.01.patch
>
>
> Sometimes I need to run qtests with another driver for testing purposes. In
> this case I have to edit testconfiguration.properties which seems a bit
> hacky, even if it's temporary.
> In this case, no tests will run (however there's a log message):
> {code:java}
> mvn test -Pitests -pl itests/qtest -pl itests/util -Dtest=TestCliDriver
> -Dqfile=bucketizedhiveinputformat.q
> {code}
> Let's support -Dtest.force.driver to use TestCliDriver:
> {code:java}
> mvn test -Pitests -pl itests/qtest -pl itests/util -Dtest=TestCliDriver
> -Dqfile=bucketizedhiveinputformat.q -Dtest.force.driver=true{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)