[CURATOR-333] TestCleanState can hide test assertions
Open
imported-jira-issue
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
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.
---
Originally reported by randgalt, imported from: TestCleanState can hide test assertions
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.