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

Attila Sasvari updated OOZIE-2642:
----------------------------------
    Attachment: OOZIE-2642-02.patch

Changed *testConfigPropagation()*  in *TestSubWorkflowActionExecutor* so that 
parent workflow includes a configuration property with the same name that is 
present in the simulated job.properties file:

- changed name from "a" to "abc". 
- Effect
{code}
assertEquals("xyz", childConf.get("abc"));
{code}
still not fails.

> Extend TestSubWorkflowActionExecutor to the test if subworkflow action's 
> parameter is properly set
> --------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-2642
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2642
>             Project: Oozie
>          Issue Type: Test
>    Affects Versions: trunk
>            Reporter: Attila Sasvari
>            Assignee: Attila Sasvari
>            Priority: Trivial
>         Attachments: OOZIE-2642-01.patch, OOZIE-2642-02.patch
>
>
> Currently not test exercises whether a configuration property that was set in 
> a parent workflow is properly overriden by the configuration property in the 
> subworkflow's action. Now, what is checked is that global config properties 
> are handled as expected (i.e. subworkflow can override). 
> We need to check if config property defined in a subworkflow's action is 
> overrided.
> However, if <propagate-configuration/> is included in parent workflow, then 
> the properties defined in job.properties (of the parent) shall not be 
> overriden.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to