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

Szehon Ho updated HIVE-7254:
----------------------------

    Description: 
Today, the Hive PTest infrastructure has a test-driver configuration called 
"directory", so it will run all the qfiles under that directory for that 
driver.  For example, CLIDriver is configured with directory 
"ql/src/test/queries/clientpositive"

However the configuration for the miniXXXDrivers (miniMRDriver, 
miniMRDriverNegative, miniTezDriver) run only a select number of tests under 
"directory" by design.  So we have to use the "include" configuration to 
hard-code a list of tests for it to run.  This is duplicating some information 
already in the /itests/qtest pom file, and can get out of date.

It would be nice if both read from the same list.

> Enhance Ptest framework config to auto-pick up list of MiniXXXDriver's test
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-7254
>                 URL: https://issues.apache.org/jira/browse/HIVE-7254
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>
> Today, the Hive PTest infrastructure has a test-driver configuration called 
> "directory", so it will run all the qfiles under that directory for that 
> driver.  For example, CLIDriver is configured with directory 
> "ql/src/test/queries/clientpositive"
> However the configuration for the miniXXXDrivers (miniMRDriver, 
> miniMRDriverNegative, miniTezDriver) run only a select number of tests under 
> "directory" by design.  So we have to use the "include" configuration to 
> hard-code a list of tests for it to run.  This is duplicating some 
> information already in the /itests/qtest pom file, and can get out of date.
> It would be nice if both read from the same list.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to