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 Piros (JIRA)" <ji...@apache.org> on 2017/08/16 14:10:00 UTC

[jira] [Updated] (OOZIE-3038) Make all Oozie JUnit tests pass on dist_test

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

Andras Piros updated OOZIE-3038:
--------------------------------
    Attachment: OOZIE-3038.001.patch

> Make all Oozie JUnit tests pass on dist_test
> --------------------------------------------
>
>                 Key: OOZIE-3038
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3038
>             Project: Oozie
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 4.3.0
>            Reporter: Andras Piros
>            Assignee: Andras Piros
>             Fix For: 5.0.0
>
>         Attachments: OOZIE-3038.001.patch
>
>
> We have Oozie JUnit test cases above 2000 pieces right now. To run all the JUnit tests before a patch submission is an overkill since these take more than two hours.
> As a workaround we can use the [*dist_test*|https://github.com/cloudera/dist_test] framework that allows for parallel test execution - the load is distributed across possibly hundreds of cloud engine slaves. So the JUnit tests run time will equal to the longest JUnit test run, that is, in the order of 10-ish minutes for the whole test suite across all the Oozie components.
> Nevertheless, some test cases that try to read files with relative access (e.g. {{src/test/resources/oozie-site.xml}}), or get system properties that are not present on cloud slaves, will certainly fail. This improvement addresses that exact issue by making those tests pass also on the cloud.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)