Repository navigation
Conversation
|
Validation update for
No additional code change or commit was made in this update. Local HEAD and the confirmed PR branch head are both |
|
Review summary (reviewed commit
|
|
Review round summary
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev/1.3 #19529 +/- ##
=============================================
+ Coverage 48.25% 48.48% +0.23%
Complexity 223 223
=============================================
Files 3688 3691 +3
Lines 254110 255466 +1356
Branches 31696 31988 +292
=============================================
+ Hits 122631 123873 +1242
- Misses 131479 131593 +114 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|



Description
The 1.3 DataNode test job remained active for six hours after the multi-flush test had already been removed. The remaining ordinary-flush tests call
TsFileProcessor.asyncFlush()directly, but this method has no production call sites indev/1.3. Several close tests also use the@TestOnlysyncClose()path instead of the production full-flush close path. The Pipe realtime fixture could write an empty TsFile and retain progress-index state across test methods.This PR aligns tests with production behavior:
DataRegionTestcases that directly exerciseasyncFlush().asyncCloseForFullFlush()and wait/retry until full flush marks the processor closing inTsFileProcessorTest.DataRegionTest.Before: tests exercise an uncalled ordinary-flush path or test-only close API; Pipe assertions can see empty files or stale progress state.
After: tests cover the production full-flush path with valid, isolated Pipe fixtures. No production code changes.
Validation
mvn spotless:apply -pl iotdb-core/datanode -am— passed.mvn clean test -pl iotdb-core/datanode -am -Dtest=PipeRealtimeExtractTest,DataRegionTest,TsFileProcessorTest -Dsurefire.failIfNoSpecifiedTests=false— passed (81 tests: 80 passed, 1 skipped; 0 failures/errors).