Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-333

TestCleanState can hide test assertions

    XMLWordPrintableJSON

Details

    • Test
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 3.1.0
    • TBD
    • Tests
    • None

    Description

      TestCleanState is used in finally blocks in lots of tests to close the Curator handle and check for cleaned watchers. However, being in a finally, it always runs. If there is an exception or assertion, it will run and always fail hiding the real error.

      Attachments

        Activity

          People

            randgalt Jordan Zimmerman
            randgalt Jordan Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: