mirror of https://github.com/apache/cloudstack.git
cleanup
This commit is contained in:
parent
e86d43d292
commit
95a7a4bd74
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue