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

Santhosh Kumar Edukulla updated CLOUDSTACK-5121:
------------------------------------------------

    Description: 
Many Test Cases are failing with below trace because of invalid initialization 
of user connection object. 

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/root/cloudstack/test/integration/component/test_volumes.py", line 
1108, in test_create_volume_under_domain
    domapiclient = self.testClient.getUserApiClient(account=domuser.name, 
domain=dom.name)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackTestClient.py", 
line 195, in getUserApiClient
    self.createUserApiClient(account, domain, type)
:q
    self.connection.logging)
TypeError: __init__() takes at most 6 arguments (9 given)

  was:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/root/cloudstack/test/integration/component/test_volumes.py", line 
1108, in test_create_volume_under_domain
    domapiclient = self.testClient.getUserApiClient(account=domuser.name, 
domain=dom.name)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackTestClient.py", 
line 195, in getUserApiClient
    self.createUserApiClient(account, domain, type)
:q
    self.connection.logging)
TypeError: __init__() takes at most 6 arguments (9 given)


> cloudstackConnection was called with invalid arguments and so test cases are 
> failing
> ------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5121
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5121
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation, marvin
>            Reporter: Santhosh Kumar Edukulla
>            Assignee: Santhosh Kumar Edukulla
>
> Many Test Cases are failing with below trace because of invalid 
> initialization of user connection object. 
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/root/cloudstack/test/integration/component/test_volumes.py", line 
> 1108, in test_create_volume_under_domain
>     domapiclient = self.testClient.getUserApiClient(account=domuser.name, 
> domain=dom.name)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackTestClient.py", line 
> 195, in getUserApiClient
>     self.createUserApiClient(account, domain, type)
> :q
>     self.connection.logging)
> TypeError: __init__() takes at most 6 arguments (9 given)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to