mirror of https://github.com/apache/cloudstack.git
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:
parent
168fb29d69
commit
b6850c28dc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue