From 409e504f6f96c19dd934f69049aec82e40c755cd Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 6 Oct 2016 15:33:09 +0530 Subject: [PATCH] CLOUDSTACK-9529: Cleanup resources after marvin test completes - Cleans up volumes, snapshots and VM after running test_snapshots Signed-off-by: Rohit Yadav --- test/integration/smoke/test_snapshots.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/smoke/test_snapshots.py b/test/integration/smoke/test_snapshots.py index 29a2d7286d8..638b66cac40 100644 --- a/test/integration/smoke/test_snapshots.py +++ b/test/integration/smoke/test_snapshots.py @@ -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(