adoroszlai opened a new pull request #16:
URL: https://github.com/apache/ratis-thirdparty/pull/16


   ## What changes were proposed in this pull request?
   
   Fix intermittent failure due to threading problem in `GrpcSslTest`, and 
similar one (although not yet encountered) in `GrpcTest`.
   
   Start the server in the main thread, only the blocking call needs to be 
pushed to a separate thread.
   
   https://issues.apache.org/jira/browse/RATIS-1348
   
   ## How was this patch tested?
   
   Reproduced the problem by adding `sleep(2000)` before `server.start()` in 
the original code.  With the fix such delay does not affect client's connection.
   
   CI runs:
   https://github.com/adoroszlai/ratis-thirdparty/actions/runs/667445986
   https://github.com/adoroszlai/ratis-thirdparty/actions/runs/667453955
   https://github.com/adoroszlai/ratis-thirdparty/actions/runs/667456741
   https://github.com/adoroszlai/ratis-thirdparty/actions/runs/667461303


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to