zjncs opened a new pull request, #5872: URL: https://github.com/apache/rocketmq-dashboard/pull/5872
### What `ProducerConnectionResultVO` carries the outcome of a producer connection scan. It had no test. This adds 4 tests. ### What is pinned - **the convenience constructor assumes a complete scan** with no failures and derives the summary from the carried connections; - **a null connection set normalises to empty** and warns `NO_CONNECTIONS`; - **an incomplete scan carries its failed brokers and groups** and warns `INCOMPLETE_SCAN`; - **the connection set is defensively copied** — mutating the source list after construction does not change the result. ### Verification - New tests on unmodified code: **4/4 green**, checkstyle clean. - Discriminating mutation: the defensive copy dropped (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]
