FrankChen021 opened a new pull request, #20291:
URL: https://github.com/apache/druid/pull/20291

   ### Description
   
   Fix three CI failures observed in Dependabot PRs:
   
   - 
[#20281](https://github.com/apache/druid/actions/runs/34172126132/job/101894303636):
 remove the task-count assertion across independent snapshots (986 vs 1000), 
and wait for cleanup instead of sleeping a fixed 100 ms.
   - 
[#20285](https://github.com/apache/druid/actions/runs/34172355861/job/101894956385):
 explicitly publish 500 records to each Kafka partition. The failed run reached 
offsets 100/96 while the test required 100/100.
   - 
[#20289](https://github.com/apache/druid/actions/runs/34172600905/job/101902922377):
 emit the Broker datasource-removal metric from the last-segment callback. The 
log recorded removal at 01:20:12 UTC, but the test timed out waiting for the 
refresh-only metric. Add coverage without a background refresh.
   
   ### Validation
   
   - TaskQueueScaleTest: 2 tests passed.
   - BrokerSegmentMetadataCacheTest: 23 tests passed, including the new 
regression test.
   - Checkstyle passed for all four affected modules.
   - KafkaBoundedSupervisorTest: local reactor build in progress; CI validation 
pending.
   
   ### Release note
   
   Emit the Broker datasource-removal metric when the last segment is removed 
directly from the cache.
   
   ### Review
   
   - [x] Self-reviewed, including concurrency behavior.
   - [x] Added or updated tests.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to