You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Julia Kinga Marton (JIRA)" <ji...@apache.org> on 2019/05/28 14:16:00 UTC

[jira] [Created] (OOZIE-3499) [Java 11] Fix TestLiteWorkflowAppParser

Julia Kinga Marton created OOZIE-3499:
-----------------------------------------

             Summary: [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


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)