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

   ### What
   
   `ConsumerGroupVO` is the group row the UI renders. It had no test. This adds 
3 tests.
   
   ### What is pinned
   
   - **the subscribed-topic and instance lists default to empty rather than 
`null`** (NPE-safe for the UI);
   - **a fresh group reads as consume-stats-unavailable** 
(`consumeStatsAvailable=false`, zero lag) until a provider proves otherwise;
   - the **documented `-1` sentinel** for unavailable connection inventory 
round-trips, together with the retry/delivery settings.
   
   ### Verification
   
   - New tests on unmodified code: **3/3 green**, checkstyle clean.
   - Discriminating mutation: the empty-list default dropped (red).
   - Restored: 3/3 green. Test-only change; no product code touched.
   


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