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 <ds...@hortonworks.com> on 2015/08/18 11:14:16 UTC

Review Request 37572: Python unittest fail when java exists

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


Re: Review Request 37572: Python unittest fail when java exists

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37572/#review95708
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Сер. 18, 2015, 9:14 до полудня, Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37572/
> -----------------------------------------------------------
> 
> (Updated Сер. 18, 2015, 9:14 до полудня)
> 
> 
> 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
> 
>