AbstractBaseTestSource currently needs to be reset after use
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 111
Description
The data is stored in static variables so it persists between tests if not reset. This is dangerous because it can cause hidden issues with tests. This was the root cause of HUDI-5653 and has the potential to be an issue if new test classes use it
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-5696
- Type: Improvement
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating AbstractBaseTestSource and the test classes that use it, then inspect how its static data persists between tests. Done should mean test state no longer leaks between tests, with coverage for the HUDI-5653 failure scenario if the relevant test location can be identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100