Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3038

Make all Oozie JUnit tests pass on dist_test

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 5.0.0b1
    • Component/s: tests
    • Labels:
      None

      Description

      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 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.

        Attachments

        1. OOZIE-3038.002.patch
          14 kB
          Andras Piros
        2. OOZIE-3038.001.patch
          14 kB
          Andras Piros

          Activity

            People

            • Assignee:
              andras.piros Andras Piros
              Reporter:
              andras.piros Andras Piros
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: