Aias00 opened a new issue, #6591:
URL: https://github.com/apache/shenyu/issues/6591

   ## Description
   `new ServerSocket(9527)` on a fixed port, never closed in `finally`. If a 
`verify(...)` throws earlier, the socket leaks and the next run's `new 
ServerSocket(9527)` fails with `BindException`. Also fails if another process 
holds 9527.
   
   ## Location
   ```
   
shenyu-client/shenyu-client-core/src/test/java/org/apache/shenyu/client/core/disruptor/subcriber/ShenyuClientURIExecutorSubscriberTest.java:79
   ```
   
   ## Impact
   Cross-run/cross-process flake.
   
   ## Suggested fix
   Use `new ServerSocket(0)` (ephemeral), close in `try(…){}` or `@AfterEach`.
   
   ## Related existing issue(s)
   None
   
   _Identified during the 2026-08-02 audit; full list in 
[`docs/issue-candidates-2026-08-02.md`](docs/issue-candidates-2026-08-02.md)._


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