[infinispan-issues] [JBoss JIRA] (ISPN-2097) Tear down methods should run even if the test method failed
Tristan Tarrant (JIRA)
jira-events at lists.jboss.org
Thu Aug 9 10:17:08 EDT 2012
[ https://issues.jboss.org/browse/ISPN-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-2097:
----------------------------------
Fix Version/s: 5.1.6.FINAL
(was: 5.1.x)
Git Pull Request: https://github.com/infinispan/infinispan/pull/1161 (was: https://github.com/infinispan/infinispan/pull/1161)
> 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.1.6.FINAL, 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
More information about the infinispan-issues
mailing list