yyqdbngt opened a new pull request, #3852: URL: https://github.com/apache/rocketmq-dashboard/pull/3852
### Motivation The existing `CollectorStatusControllerTest` only asserts the collection interval. The cluster/business collector counts exposed by the status VO were untested. ### Changes - `reportsRegisteredCollectorCounts`: with two cluster and three business collectors registered, the status reports those counts next to the interval. - `reportsZeroCollectorsWhenNoneAreRegistered`: an empty registration reports zero counts with the default interval. ### Verification ``` mvn -B test -Dtest=CollectorStatusControllerTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [INFO] BUILD SUCCESS ``` -- 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]
