fsk119 commented on pull request #16803:
URL: https://github.com/apache/flink/pull/16803#issuecomment-898226366


   Hi @saddays . I think it's just JVM behavirour.  In doc[1], it says 
   ```
   By convention, any method that exits by throwing an InterruptedException 
clears interrupt status when it does so.
   ```
   In the test, the `Thread.sleep` will throw the exception when it is 
interrupted.
   
   [1] 
https://docs.oracle.com/javase/tutorial/essential/concurrency/interrupt.html


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