You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/04 14:09:51 UTC

[jira] [Commented] (CLOUDSTACK-7431) [Automation] Fix the script "test_ldap.py" - Move the Ldap configuration information to test_data.py

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121285#comment-14121285 ] 

ASF subversion and git services commented on CLOUDSTACK-7431:
-------------------------------------------------------------

Commit b43d9345e9716613a1b04dfaa5f50fb90caab889 in cloudstack's branch refs/heads/master from SrikanteswaraRao Talluri
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b43d934 ]

CLOUDSTACK-7431: moved ldap configuration details to test_data.py
Signed-off-by: SrikanteswaraRao Talluri <ta...@apache.org>


> [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
>            Assignee: Srikanteswararao Talluri
>            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.3.4#6332)