[
https://issues.apache.org/jira/browse/CLOUDSTACK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rajani Karuturi updated CLOUDSTACK-7203:
----------------------------------------
Fix Version/s: (was: 4.5.0)
4.5.1
> Add try catch blocks in setUp() and setUpClass() methods in test cases and
> call tearDown methods explicitly in case we catch exception
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7203
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7203
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.5.0
> Reporter: Gaurav Aradhye
> Assignee: Gaurav Aradhye
> Labels: automation
> Fix For: 4.5.1
>
>
> If exception occurs in setUp() and setUpClass(), then in that case cleanup
> does not happen (tearDown method is called only when setUp is successful).
> Hence it is wise to catch the exception and call the tearDown method
> explicitly, so that previously created resources get cleaned up and it does
> not affect the execution of the next test cases
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)