yyqdbngt opened a new pull request, #3638:
URL: https://github.com/apache/rocketmq-dashboard/pull/3638
### Summary
Adds the first dedicated unit test suite for `AlertEvaluationResult`, the
record returned by the native alert rule evaluator.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/ops/alert/AlertEvaluationResultTest.java`
- `exposesAllRecordComponents`: matches/condition flags, value and
availability surface.
- `currentValueMayBeNull`: the current value stays nullable for
unavailable samples.
- `equalityFollowsRecordComponents`: record equality and hash behaviour.
### Testing
- `mvn -B test -Dtest=AlertEvaluationResultTest` passes (3 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]