ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-5284) Unit test test_start (TestAmbariServer.TestAmbariServer) fails intermittently
Date Mon, 31 Mar 2014 14:43:43 GMT
Dmitry Lysnichenko created AMBARI-5284:
------------------------------------------

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

Mime
View raw message