Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6571

InfiniteSource in SourceStreamOperatorTest should deal with InterruptedExceptions

    XMLWordPrintableJSON

Details

    Description

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

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

      Attachments

        Activity

          People

            chesnay Chesnay Schepler
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m