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

[Spark action] Improve TestSparkArgsExtractor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.0.0
    • None
    • tests
    • 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

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

              Dates

                Created:
                Updated: