Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2097

Tear down methods should run even if the test method failed

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dan.berindei dan.berindei
                Reporter:
                dan.berindei dan.berindei
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: