[ 
https://issues.apache.org/jira/browse/HIVE-20360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laszlo Bodor updated HIVE-20360:
--------------------------------
    Description: 
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}

  was:
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.
{code}
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}
mvn test -Pitests -pl itests/qtest -pl itests/util -Dtest=TestCliDriver 
-Dqfile=bucketizedhiveinputformat.q -Dtest.force.driver=true
{code}


> 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
>            Reporter: Laszlo Bodor
>            Assignee: Laszlo Bodor
>            Priority: Major
>
> 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)

Reply via email to