You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 15:45:06 UTC
[PR] test: cover null list, literal null strings and distribution ordering in ProducerConnectionSummaryVO [rocketmq-dashboard]
yyqdbngt opened a new pull request, #3432:
URL: https://github.com/apache/rocketmq-dashboard/pull/3432
### Summary
`ProducerConnectionSummaryVO.from` aggregates producer connections into counts, language/version distributions and readiness warnings. The suite covered empty lists, null entries, mixed versions and incomplete metadata, but not the null list itself, literal `"null"` values or distribution tie ordering.
### Changes
- A `null` connection list yields zero counts and the `UNAVAILABLE`/`NO_CONNECTIONS` state
- A client id of the literal string `"null"` counts toward totals but not unique metadata, and warns as incomplete
- Distribution entries are trimmed before grouping and sorted by count descending, then name ascending (ties order alphabetically)
### Testing
`mvn test -Dtest=ProducerConnectionSummaryVOTest` passes: 7 tests, 0 failures (up from 4).
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] test: cover null list, literal null strings and distribution ordering in ProducerConnectionSummaryVO [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3432: test: cover null list, literal null strings and distribution ordering in ProducerConnectionSummaryVO
URL: https://github.com/apache/rocketmq-dashboard/pull/3432
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org