yyqdbngt opened a new pull request, #3600:
URL: https://github.com/apache/rocketmq-dashboard/pull/3600
### Summary
Adds the first dedicated unit test suite for `NoopProxyStatsProvider`, the
default proxy stats provider used when no proxy transport is wired in.
The provider reports the unknown sentinel so a -1 lag is surfaced instead of
silently reading as zero. The test pins that contract.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/provider/apache/NoopProxyStatsProviderTest.java`
- `queryLagReportsUnknownSentinel`: the lag is the UNKNOWN sentinel (-1).
### Testing
- `mvn -B test -Dtest=NoopProxyStatsProviderTest` passes (1 test, 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]