yyqdbngt opened a new pull request, #3345:
URL: https://github.com/apache/rocketmq-dashboard/pull/3345

   ## Summary
   
   Extends the existing `DataSourceClientHttpRequestFactoryTest` with an 
end-to-end behavior test 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.
   
   ## Why
   
   The factory backs data-source connectivity checks, so redirects must not be 
able to steer the probe to an unintended host; the previous test only asserted 
the internal instance flag.
   
   ## Testing
   
   `mvn -B test -Dtest=DataSourceClientHttpRequestFactoryTest` — 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]

Reply via email to