You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2014/03/31 18:39:15 UTC

[jira] [Resolved] (AMBARI-5284) Unit test test_start (TestAmbariServer.TestAmbariServer) fails intermittently

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

Dmitry Lysnichenko resolved AMBARI-5284.
----------------------------------------

    Resolution: Fixed

committed to trunk

> Unit test test_start (TestAmbariServer.TestAmbariServer) fails intermittently
> -----------------------------------------------------------------------------
>
>                 Key: AMBARI-5284
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5284
>             Project: Ambari
>          Issue Type: Task
>          Components: test
>    Affects Versions: 1.5.1
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 1.6.0
>
>
> Test has been ignored until it is fixed.
> Failed tests:
> FAIL: test_start (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Users/user/workspace/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
> return func(*args, **keywargs)
> File "/Users/user/workspace/ambari/ambari-server/src/test/python/TestAmbariServer.py", line 2624, in test_start
> self.assertTrue(popen_arg0 == "/bin/su")
> AssertionError
> Call of 'ambari_server.utils.locate_file' was mocked to return constant path to files on all os. It should fix this assertion error if the reason in different path of 'su' executable.



--
This message was sent by Atlassian JIRA
(v6.2#6252)