From ca7f0df193ce4ff7d774e75287aec9f8fe97d21c Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Thu, 4 Jul 2013 21:44:39 +0530 Subject: [PATCH] Include definition for vm_3 in assign and load balance test Signed-off-by: Prasanna Santhanam (cherry picked from commit b3aa11ca394a15b70342bb8ec21da931622c3a8a) --- test/integration/smoke/test_loadbalance.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/integration/smoke/test_loadbalance.py b/test/integration/smoke/test_loadbalance.py index 8dd96e589b7..7bf560cd71a 100644 --- a/test/integration/smoke/test_loadbalance.py +++ b/test/integration/smoke/test_loadbalance.py @@ -145,6 +145,14 @@ class TestLoadBalance(cloudstackTestCase): domainid=cls.account.domainid, serviceofferingid=cls.service_offering.id ) + cls.vm_3 = VirtualMachine.create( + cls.api_client, + cls.services["server"], + templateid=template.id, + accountid=cls.account.name, + domainid=cls.account.domainid, + serviceofferingid=cls.service_offering.id + ) cls.non_src_nat_ip = PublicIPAddress.create( cls.api_client, cls.account.name, @@ -587,4 +595,4 @@ class TestLoadBalance(cloudstackTestCase): hostnames, "Check if ssh succeeded for server3" ) - return \ No newline at end of file + return