curator icon indicating copy to clipboard operation
curator copied to clipboard

[CURATOR-333] TestCleanState can hide test assertions

Open jira-importer opened this issue 9 years ago • 0 comments

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.


Originally reported by randgalt, imported from: TestCleanState can hide test assertions
  • assignee: randgalt
  • status: Reopened
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-21

jira-importer avatar May 26 '16 22:05 jira-importer