cshuo opened a new issue, #19545:
URL: https://github.com/apache/hudi/issues/19545

   ### Problem
   
   The long tail of small classes in `hudi-flink-datasource/hudi-flink` has 
limited direct unit-test coverage. These classes include configuration and 
schema models, sink/source utility classes, event POJOs, lightweight factories, 
partition/index helpers, row projections, iterators, and lookup utilities.
   
   Because many of these classes are only touched indirectly by integration 
tests, their lines are not consistently represented in the unit-test coverage 
uploaded to Codecov.
   
   ### Scope
   
   Add focused unit tests grouped by package for low-coverage Flink classes, 
including:
   
   - schema-provider compatibility and model/accessor behavior
   - sink bootstrap, buffer accounting, event, exception, index, transform, and 
utility classes
   - source enumerator, pruning, rebalance, split-event, and statistics models
   - table-format iterators, merge-on-read table state, lookup cache/provider 
utilities
   - shared Flink row projection, changelog, input-format, and JSON conversion 
helpers
   
   Keep the change test-only and avoid runtime or public API changes.
   
   ### Acceptance criteria
   
   - Add deterministic unit-level tests under 
`hudi-flink-datasource/hudi-flink/src/test/java`.
   - Exercise constructors, accessors, lifecycle delegation, enum/factory 
branches, and relevant error handling.
   - Verify the targeted tests through the Maven reactor with integration, 
Spark, and Scala tests skipped.
   - Generate a JaCoCo unit-test report showing a measurable coverage increase 
for the targeted classes.
   - Do not modify production code.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to