You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/08/13 06:35:34 UTC
[GitHub] [flink] fsk119 commented on pull request #16803: [FLINK-23744][sql-client] Fix unstable CliClientTest
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org