From bacfd109e2201d9b4e8f38df1605da2d0e21a1c4 Mon Sep 17 00:00:00 2001 From: SrikanteswaraRao Talluri Date: Fri, 4 Apr 2014 21:35:30 +0530 Subject: [PATCH] CLOUDSTACK-6316: Fixed bvt failures because of test data and wrong references Signed-off-by: SrikanteswaraRao Talluri --- test/integration/smoke/test_nic.py | 2 +- test/integration/smoke/test_public_ip_range.py | 4 +++- test/integration/smoke/test_volumes.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/test/integration/smoke/test_nic.py b/test/integration/smoke/test_nic.py index de027ee14ee..f812c3ed94c 100644 --- a/test/integration/smoke/test_nic.py +++ b/test/integration/smoke/test_nic.py @@ -69,7 +69,7 @@ class TestNic(cloudstackTestCase): self.services["small"]["zoneid"] = zone.id self.services["small"]["template"] = template.id - self.services["iso_1"]["zoneid"] = zone.id + self.services["iso1"]["zoneid"] = zone.id self.services["network"]["zoneid"] = zone.id # Create Account, VMs, NAT Rules etc diff --git a/test/integration/smoke/test_public_ip_range.py b/test/integration/smoke/test_public_ip_range.py index 0be7a19efa9..bedf94d7917 100644 --- a/test/integration/smoke/test_public_ip_range.py +++ b/test/integration/smoke/test_public_ip_range.py @@ -36,7 +36,9 @@ class TestDedicatePublicIPRange(cloudstackTestCase): # Get Zone, Domain cls.domain = get_domain(cls.apiclient) cls.zone = get_zone(cls.apiclient, cls.testClient.getZoneForTests()) - + cls.services["zoneid"] = cls.zone.id + pod = get_pod(cls.apiclient, cls.zone.id) + cls.services["podid"] = pod.id # Create Account cls.account = Account.create( cls.apiclient, diff --git a/test/integration/smoke/test_volumes.py b/test/integration/smoke/test_volumes.py index 6610b79fdae..c0362d13623 100644 --- a/test/integration/smoke/test_volumes.py +++ b/test/integration/smoke/test_volumes.py @@ -67,7 +67,7 @@ class TestCreateVolume(cloudstackTestCase): cls.services["zoneid"] = cls.zone.id cls.services["template"] = template.id cls.services["customdiskofferingid"] = cls.custom_disk_offering.id - + cls.services["diskname"] = cls.services["volume"]["diskname"] # Create VMs, NAT Rules etc cls.account = Account.create( cls.apiclient,