juicewcode opened a new pull request, #7054:
URL: https://github.com/apache/shenyu/pull/7054

   Fixes #6702
   ## Summary
     - Add null checks for the discovery handler and discovery records in 
`ProxySelectorServiceImpl.fetchData`.
     - Return early when a stale discovery handler ID or a missing discovery 
record is encountered.
   
     ## Test
     - Added a test for fetching data through a valid proxy selector.
     - Added a test verifying that a missing discovery handler does not throw 
an exception or invoke downstream components.
     - Added a test verifying that a missing discovery record does not throw an 
exception or invoke downstream components.
     - Added a boundary test for a discovery handler without a bound proxy 
selector or selector.
   
   <!-- Describe your PR here; e.g. Fixes #issueNo -->
   
   <!--
   Thank you for proposing a pull request. This template will guide you through 
the essential steps necessary for a pull request.
   -->
   Make sure that:
   
   - [x] You have read the [contribution 
guidelines](https://shenyu.apache.org/community/contributor-guide).
   - [x] You submit test cases (unit or integration tests) that back your 
changes.
   - [x] Your local test passed `./mvnw clean install 
-Dmaven.javadoc.skip=true`.
   


-- 
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