yyqdbngt opened a new pull request, #3353:
URL: https://github.com/apache/rocketmq-dashboard/pull/3353

   ## Summary
   
   Extends the existing `ApacheRocketMqClusterMetricsCollectorTest` (3 to 5 
tests) to pin down the topology branches.
   
   Added cases:
   - an empty broker-address table yields only an available 
`nameserver.availability` sample;
   - a broker entry without an address yields an `UNAVAILABLE` 
`broker.availability` sample (with its broker label) while the nameserver 
sample stays available.
   
   ## Why
   
   The collector feeds native Apache cluster alerting; the topology edge 
branches had no coverage beyond the happy path and the total-collection failure.
   
   ## Testing
   
   `mvn -B test -Dtest=ApacheRocketMqClusterMetricsCollectorTest` — 5/5 pass; 
checkstyle (validate) clean.


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