Reduce noisy logs in all test cases
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 111
Description
{quote}
Our test logs are very noisy — there are a lot of NPEs, ConnectException, etc which don’t seem to affect the test though obstruct troubleshooting substantially as there’s an avalanche of them. We need to make sure that all non-critical exceptions are addressed or suppressed, to make sure our logs are actionable.
tests should say nothing unless it fails. in the past i’ve seen mainly 2 sources
{color:#172b4d}heavy test utils (minicluster, etc) stopping print errors{color}
{color:#172b4d}test case verifying failure situations do not silence logs{color}
{quote}
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-664
- Type: Improvement
- Epic: https://issues.apache.org/jira/browse/HUDI-3303
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running the test suite and identifying the sources of the noisy NPE and ConnectException output. Inspect the heavy test utilities such as minicluster and test cases that verify failure situations; done means tests produce no output unless they fail while retaining actionable failure logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100