Skip to content

Commit

Permalink
test: fix cleanup sequence for test_acl_listvolume test
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rohityadavcloud committed May 13, 2016
1 parent ae0f169 commit acc781d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/component/test_acl_listvolume.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,9 @@ def tearDownClass(cls):
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):
Expand Down

0 comments on commit acc781d

Please sign in to comment.