Chandan Purushothama created CLOUDSTACK-7431:
------------------------------------------------
Summary: [Automation] Fix the script "test_ldap.py" - Move the
Ldap configuration information to test_data.py
Key: CLOUDSTACK-7431
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7431
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation, Test
Affects Versions: 4.5.0
Reporter: Chandan Purushothama
Priority: Critical
Fix For: 4.5.0
Currently because the ldap configuration is hard coded in the script it is
failing to work on other setups with different ldap configuration. Please move
that information to test_data.py
*Error Message*
addLdapConfiguration failed Logs available at
http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=ldap
Stacktrace
File "/usr/lib/python2.7/unittest/case.py", line 332, in run
testMethod()
File "/root/cloudstack/test/integration/component/test_ldap.py", line 154, in
test_01_addLdapConfiguration
self.assertEquals(self.ldapconfRes,1,"addLdapConfiguration failed")
File "/usr/lib/python2.7/unittest/case.py", line 516, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python2.7/unittest/case.py", line 509, in _baseAssertEqual
raise self.failureException(msg)
'addLdapConfiguration failed\n
Logs available at
http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=ldap
--
This message was sent by Atlassian JIRA
(v6.2#6252)