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

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

GitHub user uce opened a pull request:

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

    [FLINK-3860] [connector-wikiedits] Add retry loop to 
WikipediaEditsSourceTest

    Add a retry loop to `WikipediaEditsSourceTest` and checks connection to IRC 
server before running the test. The test is only executed, if a connection can 
be established. Otherwise, the test is ignored.
    
    Waiting for Travis before merging this...
    
    Example output:
    ```
    WikipediaEditsSourceTest  - Failed to connect to IRC server (1/5). Retrying 
in 2000 ms.
    WikipediaEditsSourceTest  - Failed to connect to IRC server (2/5). Retrying 
in 2000 ms.
    WikipediaEditsSourceTest  - Failed to connect to IRC server (3/5). Retrying 
in 2000 ms.
    WikipediaEditsSourceTest  - Failed to connect to IRC server (4/5). Retrying 
in 2000 ms.
    WikipediaEditsSourceTest  - Failed to connect to IRC server (5/5). Retrying 
in 2000 ms.
    WikipediaEditsSourceTest  - Skipped test, because not able to connect to 
IRC server
    ```
    
    ```
    WikipediaEditsSourceTest  - Failed to connect to IRC server (1/5). Retrying 
in 2000 ms.
    ...
    WikipediaEditsSourceTest  - Successfully ran test.
    ```

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

    $ git pull https://github.com/uce/flink 3860-wiki_retry

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

    https://github.com/apache/flink/pull/1964.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 #1964
    
----
commit 9cbe5a57e397f6a8921d07df2ed6b15261ea74a6
Author: Ufuk Celebi <u...@apache.org>
Date:   2016-05-04T08:38:04Z

    [FLINK-3860] [connector-wikiedits] Add retry loop to 
WikipediaEditsSourceTest

----


> WikipediaEditsSourceTest.testWikipediaEditsSource times out
> -----------------------------------------------------------
>
>                 Key: FLINK-3860
>                 URL: https://issues.apache.org/jira/browse/FLINK-3860
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.1.0
>            Reporter: Vasia Kalavri
>            Assignee: Aljoscha Krettek
>              Labels: test-stability
>
> WikipediaEditsSourceTest.testWikipediaEditsSource consistently timed out on 
> my latest travis build.
> See logs [here| https://travis-ci.org/vasia/flink/builds/127446209].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to