Dan Berindei created ISPN-2097:
----------------------------------
Summary: Tear down methods should run even if the test method failed
Key: ISPN-2097
URL:
https://issues.jboss.org/browse/ISPN-2097
Project: Infinispan
Issue Type: Task
Components: Test Suite
Affects Versions: 5.1.5.FINAL
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 5.2.0.ALPHA1
By default TestNG doesn't run methods annotated with
`@AfterMethod`/`@AfterTest`/`@AfterClass` if the test method failed.
This means we have to write `alwaysRun=true` explicitly, or the method won't run after
a failure and it may leave cache managers lying around.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira