CLOUDSTACK-9529: Cleanup resources after marvin test completes

- Cleans up volumes, snapshots and VM after running test_snapshots

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2016-10-06 15:33:09 +05:30
parent 93ac134f1e
commit 409e504f6f

View File

@ -196,6 +196,7 @@ class TestSnapshotRootDisk(cloudstackTestCase):
account=self.account.name,
domainid=self.account.domainid
)
self.cleanup.append(snapshot)
self.debug("Snapshot created: ID - %s" % snapshot.id)
snapshots = list_snapshots(