You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Laszlo Bodor (JIRA)" <ji...@apache.org> on 2018/08/27 09:53:00 UTC

[jira] [Comment Edited] (HIVE-20360) QTest: ignore driver/qtest exclusions if -Dqfile param is set

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

Laszlo Bodor edited comment on HIVE-20360 at 8/27/18 9:52 AM:
--------------------------------------------------------------

[~kgyrtkirk] : thx for review. Checking -Dqfile is even better, as we provide particular test(s) by qfile parameter because we want to run them explicitly.

I've renamed "QTest: enable command line argument to force using a particular driver (test.force.driver)" to "QTest: ignore driver/qtest exclusions if -Dqfile param is set"


was (Author: abstractdog):
[~kgyrtkirk] : thx for review. Checking -Dqfile is even better, as we provide particular test(s) by qfile parameter because we want to run them explicitly.

> QTest: ignore driver/qtest exclusions if -Dqfile param is set
> -------------------------------------------------------------
>
>                 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)