You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/05/16 08:23:41 UTC

[GitHub] [pulsar] linlinnn commented on pull request #10599: [Tests] Fix flaky test GracefulExecutorServicesShutdownTest

linlinnn commented on pull request #10599:
URL: https://github.com/apache/pulsar/pull/10599#issuecomment-841785603


   > What caused the flakiness was that this condition caused the execution to never get to the Thread.sleep when the thread was already interrupted:
   
   Yes, I agree that. 
   But after call countdown, main thread can cancel the future, that means the Interruption exception can probably be caught by outer catch.
   You can test it locally by add some time-consuming action after countdown.


-- 
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:
users@infra.apache.org