Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3BBA911CF4 for ; Sun, 24 Aug 2014 14:04:33 +0000 (UTC) Received: (qmail 99031 invoked by uid 500); 24 Aug 2014 14:04:23 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 98927 invoked by uid 500); 24 Aug 2014 14:04:23 -0000 Mailing-List: contact commits-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 commits@cloudstack.apache.org Received: (qmail 98470 invoked by uid 99); 24 Aug 2014 14:04:23 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2014 14:04:23 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1103F955CE3; Sun, 24 Aug 2014 14:04:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bhaisaab@apache.org To: commits@cloudstack.apache.org Date: Sun, 24 Aug 2014 14:04:49 -0000 Message-Id: <078aeaad9312404a857d99f854a39941@git.apache.org> In-Reply-To: <585a1505e501427b9b78fa468ab4ac2c@git.apache.org> References: <585a1505e501427b9b78fa468ab4ac2c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [29/50] [abbrv] git commit: updated refs/heads/saml2 to ba68616 CLOUDSTACK-7354: Set isdynamicallyscalable before attempting to scale the VM Signed-off-by: Santhosh Edukulla Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2995c7f3 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2995c7f3 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2995c7f3 Branch: refs/heads/saml2 Commit: 2995c7f34ba982f6ee5afaae0b7b5ca6e2a61619 Parents: 4e115c2 Author: John Dilley Authored: Fri Aug 15 15:20:04 2014 +0000 Committer: Santhosh Edukulla Committed: Fri Aug 22 19:10:38 2014 +0530 ---------------------------------------------------------------------- test/integration/smoke/test_scale_vm.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2995c7f3/test/integration/smoke/test_scale_vm.py ---------------------------------------------------------------------- diff --git a/test/integration/smoke/test_scale_vm.py b/test/integration/smoke/test_scale_vm.py index b3804dc..0b770c4 100644 --- a/test/integration/smoke/test_scale_vm.py +++ b/test/integration/smoke/test_scale_vm.py @@ -110,6 +110,12 @@ class TestScaleVm(cloudstackTestCase): # Validate the following # Scale up the vm and see if it scales to the new svc offering and is finally in running state + # VirtualMachine should be updated to tell cloudstack it has PV tools + # available and successfully scaled. We will only mock that behaviour + # here but it is not expected in production since the VM scaling is not + # guaranteed until tools are installed, vm rebooted + self.virtual_machine.update(self.apiclient, isdynamicallyscalable='true') + self.debug("Scaling VM-ID: %s to service offering: %s and state %s" % ( self.virtual_machine.id, self.big_offering.id, @@ -144,12 +150,6 @@ class TestScaleVm(cloudstackTestCase): "Check virtual machine ID of scaled VM" ) - # VirtualMachine should be updated to tell cloudstack it has PV tools - # available and successfully scaled. We will only mock that behaviour - # here but it is not expected in production since the VM scaling is not - # guaranteed until tools are installed, vm rebooted - self.virtual_machine.update(self.apiclient, isdynamicallyscalable='true') - self.debug("Scaling VM-ID: %s from service offering: %s to new service offering %s and the response says %s" % ( self.virtual_machine.id, self.virtual_machine.serviceofferingid,