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

[Spark action] Improve TestSparkArgsExtractor

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Component/s: tests
    • Labels:
      None

      Description

      Similar to the text fixture TestSparkArgsExtractor#testPropertiesArePrependedToSparkArgs() covered by OOZIE-3228, extend the usage of assertContainsSublist() for every other test case as well.

      This has some advantages:

      • test runs become more stable when parameterized differently
      • code gets more readable
      • assert only what's necessary instead of always the whole Spark argument list. For most test cases it's not needed

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: