yyqdbngt opened a new pull request, #3626:
URL: https://github.com/apache/rocketmq-dashboard/pull/3626
### Summary
Adds the first dedicated unit test suite for
`ConsumerDiagnosticsProviderStub`, the fallback consumer diagnostics provider.
The stub must stay loud when no real provider is configured: the single
operation throws a 501 `BusinessException` instead of silently degrading.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/instance/group/ConsumerDiagnosticsProviderStubTest.java`
- `getConsumerStackThrowsUnsupported`: stack lookup throws 501 with the
configured message.
### Testing
- `mvn -B test -Dtest=ConsumerDiagnosticsProviderStubTest` 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]