yyqdbngt opened a new pull request, #3726:
URL: https://github.com/apache/rocketmq-dashboard/pull/3726
### Summary
Adds the first dedicated unit test suite for `AlertRuleVO`, the central
alert rule row used across the rule CRUD and evaluation flows.
The builder ships domain/aggregation/window/samples/reminder defaults. The
tests pin the fresh-rule defaults and the fully populated rule shape.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/ops/alert/AlertRuleVOTest.java`
- `builderDefaultsDescribeFreshRule`: BUSINESS domain, LAST aggregation,
30m reminder, 1 sample.
- `allArgsCarryRuleState`: domain, metric, windows, channels and template
round-trip.
### Testing
- `mvn -B test -Dtest=AlertRuleVOTest` 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]