You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2017/03/20 15:09:13 UTC

Review Request 57777: Python UT fail on trunk

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

Review request for Ambari and Eugene Chekanskiy.


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


Repository: ambari


Description
-------

======================================================================
    FAIL: test_get_params_from_filesystem (TestSecurityCommons.TestSecurityCommons)
    ----------------------------------------------------------------------
    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-agent/src/test/python/resource_management/TestSecurityCommons.py", line 203, in test_get_params_from_filesystem
        et_parser_mock.assert_called_with(conf_dir + os.sep + "config.xml")
      File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 829, in assert_called_with
        raise AssertionError('Expected call: %s\nNot called' % (expected,))
    AssertionError: Expected call: parse('/tmp/config.xml')
    Not called


Diffs
-----

  ambari-agent/src/test/python/resource_management/TestSecurityCommons.py b44b454 


Diff: https://reviews.apache.org/r/57777/diff/1/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 57777: Python UT fail on trunk

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


Ship it!




Ship It!

- Vitalyi Brodetskyi


On \u0411\u0435\u0440\u0435\u0437\u0435\u043d\u044c 20, 2017, 3:09 \u043f\u0456\u0441\u043b\u044f \u043f\u043e\u043b\u0443\u0434\u043d\u044f, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57777/
> -----------------------------------------------------------
> 
> (Updated \u0411\u0435\u0440\u0435\u0437\u0435\u043d\u044c 20, 2017, 3:09 \u043f\u0456\u0441\u043b\u044f \u043f\u043e\u043b\u0443\u0434\u043d\u044f)
> 
> 
> Review request for Ambari and Eugene Chekanskiy.
> 
> 
> Bugs: AMBARI-20500
>     https://issues.apache.org/jira/browse/AMBARI-20500
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> ======================================================================
>     FAIL: test_get_params_from_filesystem (TestSecurityCommons.TestSecurityCommons)
>     ----------------------------------------------------------------------
>     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-agent/src/test/python/resource_management/TestSecurityCommons.py", line 203, in test_get_params_from_filesystem
>         et_parser_mock.assert_called_with(conf_dir + os.sep + "config.xml")
>       File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 829, in assert_called_with
>         raise AssertionError('Expected call: %s\nNot called' % (expected,))
>     AssertionError: Expected call: parse('/tmp/config.xml')
>     Not called
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/test/python/resource_management/TestSecurityCommons.py b44b454 
> 
> 
> Diff: https://reviews.apache.org/r/57777/diff/1/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>