Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3A7A11347 for ; Fri, 1 Aug 2014 17:23:39 +0000 (UTC) Received: (qmail 67907 invoked by uid 500); 1 Aug 2014 17:23:39 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 67881 invoked by uid 500); 1 Aug 2014 17:23:39 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 67869 invoked by uid 500); 1 Aug 2014 17:23:39 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 67866 invoked by uid 99); 1 Aug 2014 17:23:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2014 17:23:39 +0000 Date: Fri, 1 Aug 2014 17:23:39 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-7224) Test cases using asyncJobMgr.py to pass API requests are failing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 > 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)