CLOUDSTACK-3021: Correct the order of resources

Resources are ordered so that the cleanup succeeds.
domains are deleted after accounts under the domain are removed.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Rayees Namathponnan 2013-06-18 02:43:52 -04:00 committed by Prasanna Santhanam
parent 168fb29d69
commit b6850c28dc
1 changed files with 8 additions and 7 deletions

View File

@ -753,13 +753,14 @@ class TestServiceOfferingHierarchy(cloudstackTestCase):
domainid=cls.domain_2.id
)
cls._cleanup = [
cls.account_1,
cls.account_2,
cls.service_offering,
cls.domain_1,
cls.domain_2,
]
cls._cleanup = [
cls.account_2,
cls.domain_2,
cls.service_offering,
cls.account_1,
cls.domain_1,
]
return
@classmethod