mirror of https://github.com/apache/cloudstack.git
test: fix cleanup sequence for test_acl_listvolume test
Changes the cleanup sequence as the cleanup code causes exceptions in several Travis runs such as: https://travis-ci.org/apache/cloudstack/jobs/129925224 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
ae0f169123
commit
acc781d086
|
|
@ -357,9 +357,9 @@ class TestVolumeList(cloudstackTestCase):
|
|||
cls.apiclient = super(TestVolumeList, cls).getClsTestClient().getApiClient()
|
||||
cls.apiclient.connection.apiKey = cls.default_apikey
|
||||
cls.apiclient.connection.securityKey = cls.default_secretkey
|
||||
cleanup_resources(cls.apiclient, cls.cleanup)
|
||||
cls.domain_1.delete(cls.apiclient,cleanup="true")
|
||||
cls.domain_2.delete(cls.apiclient,cleanup="true")
|
||||
cleanup_resources(cls.apiclient, cls.cleanup)
|
||||
return
|
||||
|
||||
def setUp(cls):
|
||||
|
|
|
|||
Loading…
Reference in New Issue