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

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

Commit 93c64cd7f210f4a666611b1e8b71f8cf7edcc8eb in cloudstack's branch 
refs/heads/master from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=93c64cd ]

CLOUDSTACK-7224: Fixed marvin code for async jobs

Signed-off-by: Santhosh Edukulla <[email protected]>


> 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)

Reply via email to