You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Abhijeetmishr (via GitHub)" <gi...@apache.org> on 2023/05/02 09:14:32 UTC

[GitHub] [rocketmq] Abhijeetmishr commented on issue #6654: An unstable unit test: BrokerOuterAPITest.test_needRegister_timeout

Abhijeetmishr commented on issue #6654:
URL: https://github.com/apache/rocketmq/issues/6654#issuecomment-1531144056

   > > @KitherRunner Why we should change the return type of the method from List to Array of Boolean ?
   > 
   > When CountDownLatch times out and continues to run, the executed tasks will not be canceled, and they can still run and add elements to the List
   
   No, when a Countdown Latch times out and continues to run, the executed tasks will not be canceled, but they will not be able to add elements to the List.
   This is what I found out I can be wrong.


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org