kaisun2000 commented on issue #1280:
URL: https://github.com/apache/helix/issues/1280#issuecomment-698752926


   these  async tasks has clustermonitor reference. If the they are not 
properly shutdown. This test would fail.
   
   shutdown __asyncTasksThreadPool logic is here.
   
   ```
       // shutdown asycTasksThreadpool and wait for terminate.
       _asyncTasksThreadPool.shutdownNow();
       try {
         _asyncTasksThreadPool.awaitTermination(EVENT_THREAD_JOIN_TIMEOUT, 
TimeUnit.MILLISECONDS);
       } catch (InterruptedException ex) {
         logger.warn("Timeout when terminating async tasks. Some async tasks 
are still executing.");
       }
   
   ```
   
   Note, the shutdown is best effort, not guarantee.  We may have a warning 
message in the case, but the test does not output warning.
   
   All in all, let us disable this test as there is no guarantee of shutting 
down all threads.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to