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

Tear down methods should run even if the test method failed

    XMLWordPrintable

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.

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: