Rynzie02 opened a new pull request, #1029:
URL: https://github.com/apache/dubbo-go-samples/pull/1029

   This PR maybe can fix #915 .
   
   ### Summary
   - Replace time.Sleep in sample tests/examples with deterministic waits 
(context timeout / polling / sync primitives).
   - Keep behavior consistent with previous examples.
   
   ### Details
   - Use context.WithTimeout and select with completion channels instead of 
fixed sleeps.
   - Use WaitGroup / signal channels to wait for async callbacks.
   
   ### Test
   I've test the file i changed:
   
   `./integrate_test.sh config_center/nacos` `./integrate_test.sh 
config_center/zookeeper` `./integrate_test.sh filter/sentinel` 
`integrate_test.sh async/` and all passed


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