diff --git a/test/integration/testpaths/testpath_snapshot_hadrning.py b/test/integration/testpaths/testpath_snapshot_hadrning.py index 0b72a6aaf3c..cb31f0f2fce 100755 --- a/test/integration/testpaths/testpath_snapshot_hadrning.py +++ b/test/integration/testpaths/testpath_snapshot_hadrning.py @@ -262,7 +262,6 @@ class TestSnapshotsHardning(cloudstackTestCase): cls.testdata["account"], domainid=cls.domain.id ) - cls._cleanup.append(cls.account) # Create user api client of the account cls.userapiclient = testClient.getUserApiClient( @@ -327,6 +326,8 @@ class TestSnapshotsHardning(cloudstackTestCase): mode=cls.zone.networktype ) cls._cleanup.append(cls.vm_ha) + + cls._cleanup.append(cls.account) cls.root_volume_ha = list_volumes( cls.userapiclient, virtualmachineid=cls.vm_ha.id,