[jira] [Created] (FLINK-6571) InfiniteSource in SourceStreamOperatorTest should deal with InterruptedExceptions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-6571) InfiniteSource in SourceStreamOperatorTest should deal with InterruptedExceptions

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-6571:
---------------------------------------

             Summary: InfiniteSource in SourceStreamOperatorTest should deal with InterruptedExceptions
                 Key: FLINK-6571
                 URL: https://issues.apache.org/jira/browse/FLINK-6571
             Project: Flink
          Issue Type: Improvement
          Components: Tests
    Affects Versions: 1.3.0, 1.4.0
            Reporter: Chesnay Schepler
            Priority: Minor


So this is a new one: i got a failing test ({{testNoMaxWatermarkOnAsyncStop}}) due to an uncatched InterruptedException.

{code}
[00:28:15] Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.828 sec <<< FAILURE! - in org.apache.flink.streaming.runtime.operators.StreamSourceOperatorTest
[00:28:15] testNoMaxWatermarkOnAsyncStop(org.apache.flink.streaming.runtime.operators.StreamSourceOperatorTest)  Time elapsed: 0 sec  <<< ERROR!
[00:28:15] java.lang.InterruptedException: sleep interrupted
[00:28:15] at java.lang.Thread.sleep(Native Method)
[00:28:15] at org.apache.flink.streaming.runtime.operators.StreamSourceOperatorTest$InfiniteSource.run(StreamSourceOperatorTest.java:343)
[00:28:15] at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:87)
[00:28:15] at org.apache.flink.streaming.runtime.operators.StreamSourceOperatorTest.testNoMaxWatermarkOnAsyncStop(StreamSourceOperatorTest.java:176)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)