ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Review Request 37572: Python unittest fail when java exists
Date Tue, 18 Aug 2015 09:14:16 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37572/
-----------------------------------------------------------

Review request for Ambari, Myroslav Papirkovskyy and Vitalyi Brodetskyi.


Bugs: AMBARI-12799
    https://issues.apache.org/jira/browse/AMBARI-12799


Repository: ambari


Description
-------

FAIL: test_hook_default (test_before_any.TestHookBeforeInstall)
Traceback (most recent call last):
  File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
    return func(*args, **keywargs)
  File "/home/user/ambari/ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py",
line 186, in test_hook_default
    recursive = True,
  File "/home/user/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line
229, in assertResourceCalled
    self.assertNotEqual(len(RMFTestCase.env.resource_list), 0, "There was no more resources
executed!")


Diffs
-----

  ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py 7bac523 

Diff: https://reviews.apache.org/r/37572/diff/


Testing
-------

Unit tests passed


Thanks,

Dmytro Sen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message