curator
curator copied to clipboard
[CURATOR-333] TestCleanState can hide test assertions
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