ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-14815) Unit tests for Oozie are not executed (test run is successful)
Date Wed, 27 Jan 2016 16:17:39 GMT
Dmytro Sen created AMBARI-14815:
-----------------------------------

             Summary: 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


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)

Mime
View raw message