yyqdbngt opened a new pull request, #3577:
URL: https://github.com/apache/rocketmq-dashboard/pull/3577
### Summary
Adds the first dedicated unit test suite for `ClusterProbeResult`, the
outcome bean of the pre-registration cluster probe.
The bean is built via Lombok; the tests pin the untouched-builder defaults
and the fully-populated outcome so a field added later cannot silently break
the probe flow contract.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/cluster/broker/ClusterProbeResultTest.java`
- `builderDefaultsDescribeUntriedProbe`: disconnected, no
addresses/cluster, zero broker count and latency.
- `allArgsCarryProbeOutcome`: every field round-trips through the builder
and accessors.
### Testing
- `mvn -B test -Dtest=ClusterProbeResultTest` passes (2 tests, all green).
--
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]