Florian Barca created AMBARI-8026:
-------------------------------------
Summary: [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
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)