You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/15 12:38:25 UTC

[jira] [Commented] (FLINK-3764) LeaderChangeStateCleanupTest.testStateCleanupAfterListenerNotification fails on Travis

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

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

GitHub user tillrohrmann opened a pull request:

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

    [FLINK-3764] [tests] Improve LeaderChangeStateCleanupTest stability

    The LeaderElectionRetrievalTestingCluster now also waits for the Flink
    resource manager to be properly started before trying to send leader
    change notification messages to the LeaderRetrievalServices.

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

    $ git pull https://github.com/tillrohrmann/flink fixLeaderChangeStateCleanupTest

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

    https://github.com/apache/flink/pull/1894.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 #1894
    
----
commit c9895ba81db966fb3d48eced6529aa33fe1941ce
Author: Till Rohrmann <tr...@apache.org>
Date:   2016-04-15T10:33:58Z

    [FLINK-3764] [tests] Improve LeaderChangeStateCleanupTest stability
    
    The LeaderElectionRetrievalTestingCluster now also waits for the Flink
    resource manager to be properly started before trying to send leader
    change notification messages to the LeaderRetrievalServices.

----


> LeaderChangeStateCleanupTest.testStateCleanupAfterListenerNotification fails on Travis
> --------------------------------------------------------------------------------------
>
>                 Key: FLINK-3764
>                 URL: https://issues.apache.org/jira/browse/FLINK-3764
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Critical
>              Labels: test-stability
>
> The {{LeaderChangeStateCleanupTest.testStateCleanupAfterListenerNotification}} fails spuriously on Travis because of a {{NullPointerException}}. The reason is that it's not properly waited until the {{ResourceManager}} has been started. Due to this, it can happen that a leader notification message is tried to be sent to a {{LeaderRetrievalListener}} which has not been set by the {{ResourceManager}}.
> [1] https://s3.amazonaws.com/archive.travis-ci.org/jobs/123271732/log.txt



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