diff --git a/test/integration/smoke/test_deploy_vm_root_resize.py b/test/integration/smoke/test_deploy_vm_root_resize.py index 5f3cfe8b08a..f3b42a389b9 100644 --- a/test/integration/smoke/test_deploy_vm_root_resize.py +++ b/test/integration/smoke/test_deploy_vm_root_resize.py @@ -164,14 +164,7 @@ class TestDeployVmRootSize(cloudstackTestCase): return def tearDown(self): - try: - # Clean up, terminate the created instance, volumes and snapshots - - cleanup_resources(self.apiclient, self.cleanup) - pass - except Exception as e: - raise Exception("Warning: Exception during cleanup : %s" % e) - return + super(TestDeployVmRootSize,self).tearDown() @classmethod def restartServer(cls): @@ -402,10 +395,5 @@ class TestDeployVmRootSize(cloudstackTestCase): else: self.debug("test 02 does not support hypervisor type " + self.hypervisor) - def tearDown(self): - try: - cleanup_resources(self.apiclient, self.cleanup) - except Exception as e: - self.debug("Warning! Exception in tearDown: %s" % e)