You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2016/01/27 17:18:40 UTC

[jira] [Updated] (AMBARI-14815) Unit tests for Oozie are not executed (test run is successful)

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

Dmytro Sen updated AMBARI-14815:
--------------------------------
    Attachment: AMBARI-14815.patch

> Unit tests for Oozie are not executed (test run is successful)
> --------------------------------------------------------------
>
>                 Key: AMBARI-14815
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14815
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 2.4.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-14815.patch
>
>
> Test run reports that all tests passed.
> But Oozie tests are silently stopped with an exception
> {noformat}
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
>     self.run()
>   File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
>     self._target(*self._args, **self._kwargs)
>   File "/home/andrii/my/repos/ambari/ambari-server/src/test/python/unitTests.py", line 118, in stack_test_executor
>     modules]
>   File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
>     module = __import__('.'.join(parts_copy))
>   File "/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_service_check.py", line 94
>     dfs_type = '',
> SyntaxError: keyword argument repeated
> {noformat}
> unitTests.py should notify about the failure (in case of syntax error), not silently reject tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)