flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6571) InfiniteSource in SourceStreamOperatorTest should deal with InterruptedExceptions
Date Wed, 31 Jan 2018 14:10:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-6571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346881#comment-16346881
] 

ASF GitHub Bot commented on FLINK-6571:
---------------------------------------

GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/5394

    [FLINK-6571][tests] Catch InterruptedException in StreamSourceOperato…

    ## What is the purpose of the change
    
    This PR resolves a test instability in the StreamSourceOperatorTest, where the `InfiniteSource`
could fail due to an `InterruptedException`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 6571

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/5394.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5394
    
----
commit 453ba011b6b6beaf5102f3f376beb7c3a7260892
Author: zentol <chesnay@...>
Date:   2018-01-31T14:07:55Z

    [FLINK-6571][tests] Catch InterruptedException in StreamSourceOperatorTest

----


> 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, 1.5.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Minor
>              Labels: test-stability
>             Fix For: 1.5.0
>
>
> 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
(v7.6.3#76005)

Mime
View raw message