[
https://issues.apache.org/jira/browse/CLOUDSTACK-7224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gaurav Aradhye resolved CLOUDSTACK-7224.
----------------------------------------
Resolution: Fixed
> Test cases using asyncJobMgr.py to pass API requests are failing
> ----------------------------------------------------------------
>
> Key: CLOUDSTACK-7224
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7224
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.5.0
> Reporter: Gaurav Aradhye
> Assignee: Gaurav Aradhye
> Labels: automation
> Fix For: 4.5.0
>
>
> test cases in test_snapshots_improvement.py use asyncJobMgr to execute
> commands asynchronously and are failing due to issues in marvin code.
> ResponseType is not passed from asyncJobMgr to marvinRequest function, only
> command is passed. In this case responseType parameter should not be set as
> mandatory in marvinReqest. Make it optional.
> Also remove connection.close() , as there is no close method for
> cloudstackConnection. Closing the connection is not required as the copy of
> cloudstackConnection which is created for every worker thread will be deleted
> once it goes out of scope.
--
This message was sent by Atlassian JIRA
(v6.2#6252)