CAICAIIs opened a new pull request, #3143:
URL: https://github.com/apache/dubbo-go/pull/3143

   ### Description
   Fixes #3142 
   
   Problem:
   The test `TestStreamForServer/client-stream-conn` was failing intermittently 
with EOF errors and TLS handshake failures under concurrent execution.
   
   Root Cause:
   
   The server handler attempted to send a non-protobuf message which correctly 
returned an error, but:
   1. The original code ignored the error and continued to return a success 
response
   2. This created an inconsistent connection state
   3. Under high concurrency, the client's Send() would encounter EOF because 
the server had already closed the connection
   4. This caused race conditions with intermittent test failures
   
   Testing & Validation:
   - Sequential Test (50 iterations): 100% pass rate
   - High Concurrency (100 iterations, 10 parallel): PASS (0.347s)
   - Extreme Concurrency (200 iterations, 20 parallel): PASS (0.647s)
   - Race Detection (50 iterations, 10 parallel): PASS (1.497s)
   - Full Test Suite (9 subtests): All PASS
   
   ### Checklist
   - [x] I confirm the target branch is `develop`
   - [x] Code has passed local testing
   - [x] I have added tests that prove my fix is effective or that my feature 
works
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to