From 7f10e6fe0b6744dd6d3ce5942baa70dc19a1040a Mon Sep 17 00:00:00 2001 From: Gaurav Aradhye Date: Wed, 24 Dec 2014 14:39:20 +0530 Subject: [PATCH] CLOUDSTACK-8124: Skipping snapshot test cases on hyperv Signed-off-by: SrikanteswaraRao Talluri --- test/integration/component/test_blocker_bugs.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/integration/component/test_blocker_bugs.py b/test/integration/component/test_blocker_bugs.py index f9530f0177d..8ba563f522d 100644 --- a/test/integration/component/test_blocker_bugs.py +++ b/test/integration/component/test_blocker_bugs.py @@ -731,7 +731,7 @@ class TestTemplates(cloudstackTestCase): cls.testClient = super(TestTemplates, cls).getClsTestClient() cls.api_client = cls.testClient.getApiClient() - + cls.hypervisor = cls.testClient.getHypervisorInfo() cls.services = Services().services # Get Zone, Domain and templates cls.zone = get_zone(cls.api_client, cls.testClient.getZoneForTests()) @@ -857,6 +857,8 @@ class TestTemplates(cloudstackTestCase): # 4. Check the size of snapshot and template # Create a snapshot from the ROOTDISK + if self.hypervisor.lower() in ['hyperv']: + self.skipTest("Snapshots feature is not supported on Hyper-V") snapshot = Snapshot.create( self.apiclient, self.volume.id, @@ -922,6 +924,8 @@ class TestTemplates(cloudstackTestCase): # 5. Template should be created succesfully # Create a snapshot from the ROOTDISK + if self.hypervisor.lower() in ['hyperv']: + self.skipTest("Snapshots feature is not supported on Hyper-V") snapshot = Snapshot.create( self.apiclient, self.volume.id,