From 95a7a4bd74992d76d00ff4191b71288a1c6893cd Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Tue, 23 Feb 2021 17:13:34 +0100 Subject: [PATCH] cleanup --- .../smoke/test_deploy_vm_root_resize.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) 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)