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

   ### What
   
   `BrokerVO` is the broker row the cluster view renders. It had no test. This 
adds 4 tests.
   
   ### What is pinned
   
   - **every field round-trips through the builder** (identity, version, 
status, disk usage, TPS and the daily counters);
   - **a built broker defaults to `runtimeStatsAvailable = true`** — a broker 
is presumed to expose runtime statistics until the producer says otherwise;
   - an empty broker reports zeroed counters, and a broker without runtime 
statistics can be flagged.
   
   ### Verification
   
   - New tests on unmodified code: **4/4 green**, checkstyle clean.
   - Discriminating mutation: the builder default flipped to `false` (red).
   - Restored: 4/4 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