yyqdbngt opened a new pull request, #3272: URL: https://github.com/apache/rocketmq-dashboard/pull/3272
## Summary Adds an end-to-end behavior test to the existing `NoRedirectClientHttpRequestFactoryTest`, complementing the flag-level check. Coverage: - a local `HttpServer` serves a `302` from `/start` pointing at `/target`; executing a request through the factory returns the `302` and the redirect target is never hit, proving redirects are not followed over the wire (not just that the instance flag is flipped). ## Why The factory backs every Studio outbound HTTP call so metrics/alert queries cannot be steered to unintended hosts; the previous test only asserted the internal flag, not the actual request behavior. ## Testing `mvn -B test -Dtest=NoRedirectClientHttpRequestFactoryTest` — 2/2 pass; checkstyle (validate) clean. -- 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]
