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 2018/05/28 12:52:00 UTC

[jira] [Created] (OOZIE-3262) [Spark action] Improve TestSparkArgsExtractor

Andras Piros created OOZIE-3262:
-----------------------------------

             Summary: [Spark action] Improve TestSparkArgsExtractor
                 Key: OOZIE-3262
                 URL: https://issues.apache.org/jira/browse/OOZIE-3262
             Project: Oozie
          Issue Type: Improvement
          Components: tests
    Affects Versions: 5.0.0
            Reporter: Andras Piros


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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)