apache / apache/curator

[CURATOR-333] TestCleanState can hide test assertions

Open
#853 0 comments 0 reactions 0 assignees View on GitHub
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


  • assignee: randgalt
  • status: Reopened
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-21

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.