lizhanhui commented on PR #4500:
URL: https://github.com/apache/rocketmq/pull/4500#issuecomment-1164293386

   This pull request is terrible... Magic amount of sleep duration is the root 
cause of random test failures. Should get rid of them.
   
   [Stackoverflow has a thread discussing similar 
issues.](https://stackoverflow.com/questions/36283334/how-to-avoid-thread-sleep-in-unit-tests)
 Maybe we should turn to [awaitility](https://github.com/awaitility/awaitility) 
as recommended. 


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