You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Salamon (JIRA)" <ji...@apache.org> on 2019/05/30 09:33:00 UTC
[jira] [Commented] (OOZIE-3499) [Java 11] Fix
TestLiteWorkflowAppParser
[ https://issues.apache.org/jira/browse/OOZIE-3499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16851687#comment-16851687 ]
Andras Salamon commented on OOZIE-3499:
---------------------------------------
[~kmarton] Could you please also upload the patch to review board? Thanks.
> [Java 11] Fix TestLiteWorkflowAppParser
> ---------------------------------------
>
> Key: OOZIE-3499
> URL: https://issues.apache.org/jira/browse/OOZIE-3499
> Project: Oozie
> Issue Type: Sub-task
> Reporter: Julia Kinga Marton
> Assignee: Julia Kinga Marton
> Priority: Major
> Attachments: OOZIE-3499-001.patch
>
>
> All the tests from TestLiteWorkflowAppParser, where global configurations are used are failing because with Java11 the order of the properties is not the same as with Java8.
> {code:xml}
> <global>
> <job-tracker>${foo}</job-tracker>
> <name-node>bar</name-node>
> <configuration>
> <property>
> <name>a</name>
> <value>A</value>
> </property>
> <property>
> <name>b</name>
> <value>B</value>
> </property>
> </configuration>
> </global>{code}
> With Java 11 will have the same order as in the xml, but with Java 8 the order is changed, and we are asserting to the "wrong" order.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)