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

Szehon Ho commented on HIVE-7291:
---------------------------------

That first comment auto-formatted strangely, writing the same again in 
formatted blocks.

With the new syntax:

{noformat}
qFileTests.propertyFiles.${propertyFileName}=${propertyFilePath}
{noformat}

The testparser will open the file specified at {noformat}${propertyFilePath} 
{noformat} and populate a list of 
{noformat}{propertyName,propertyValue}{noformat}

Then If any qtest test-list specifies 
{noformat}
${propertyFileName}.${propertyName}
{noformat}
as an item, it will resolve that by looking up the corresponding propertyValue 
(list of tests), in the corresponding propertyFile.

In the real example, propertyFile will be testconfiguration.properties added in 
HIVE-7258, and the propertyNames listed in that file are miniTez.query.files, 
minimr.query.files, etc.


> Refactor TestParser to understand test-property file
> ----------------------------------------------------
>
>                 Key: HIVE-7291
>                 URL: https://issues.apache.org/jira/browse/HIVE-7291
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Testing Infrastructure
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>         Attachments: HIVE-7291.patch, trunk-mr2.properties
>
>
> NO PRECOMMIT TESTS



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

Reply via email to