ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-8026) [Test] ambari-server unit test failures: AttributeError
Date Thu, 30 Oct 2014 21:45:34 GMT

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

Yusaku Sako resolved AMBARI-8026.
---------------------------------
    Resolution: Fixed

Committed to branch-windows-dev.

> [Test] ambari-server unit test failures: AttributeError
> -------------------------------------------------------
>
>                 Key: AMBARI-8026
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8026
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: branch-windows-dev
>         Environment: Linux
>            Reporter: Florian Barca
>            Assignee: Florian Barca
>             Fix For: branch-windows-dev
>
>         Attachments: AMBARI-8026.1.patch, AMBARI-8026.2.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> ERROR: test_ambariServerSetupWithCustomDbName (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py",
line 1191, in patched
>     arg = patching.__enter__()
>   File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py",
line 1266, in __enter__
>     original, local = self.get_original()
>   File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py",
line 1240, in get_original
>     "%s does not have the attribute %r" % (target, name)
> AttributeError: <module 'ambari-server' from '/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-server/src/main/python/ambari-server.py'>
does not have the attribute 'download_and_install_jdk'
> ERROR: test_reset (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py",
line 1191, in patched
>     arg = patching.__enter__()
>   File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py",
line 1266, in __enter__
>     original, local = self.get_original()
>   File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py",
line 1240, in get_original
>     "%s does not have the attribute %r" % (target, name)
> AttributeError: <module 'ambari-server' from '/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-server/src/main/python/ambari-server.py'>
does not have the attribute 'is_server_running'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message