You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by StephanEwen <gi...@git.apache.org> on 2018/02/01 12:31:58 UTC

[GitHub] flink issue #5394: [FLINK-6571][tests] Catch InterruptedException in StreamS...

Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/5394
  
    It may not be a problem in this test, but I wanted to raise that this pattern is a bit dangerous.
    If the thread ever gets interrupted while 'running' is still true, this goes into a hot loop constantly throwing exceptions: Every time it falls through the loop and attempts to sleep again, it will immediately throw an Interrupted Exception.


---