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

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

GitHub user mxm opened a pull request:

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

    [FLINK-3893] improve LeaderChangeStateCleanupTest

    Fixes discovered in the course of #1978.

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

    $ git pull https://github.com/mxm/flink FLINK-3893

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

    https://github.com/apache/flink/pull/2009.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 #2009
    
----
commit 75fe6bdbcb4770ce336fd9066fe57589a9685176
Author: Maximilian Michels <[email protected]>
Date:   2016-04-25T08:41:05Z

    [FLINK-3893] use test timeout in LeaderChangeStateCleanupTest

commit 94adc427d02ea974706d133fb22f1219c4d5fe41
Author: Maximilian Michels <[email protected]>
Date:   2016-05-10T14:45:48Z

    [FLINK-3893] don't fail if leader retrieval service has been started

----


> LeaderChangeStateCleanupTest times out
> --------------------------------------
>
>                 Key: FLINK-3893
>                 URL: https://issues.apache.org/jira/browse/FLINK-3893
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.1.0
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>            Priority: Minor
>              Labels: test-stability
>
> {{cluster.waitForTaskManagersToBeRegistered();}} needs to be replaced by 
> {{cluster.waitForTaskManagersToBeRegistered(timeout);}}
> {noformat}
> testStateCleanupAfterListenerNotification(org.apache.flink.runtime.leaderelection.LeaderChangeStateCleanupTest)
>   Time elapsed: 10.106 sec  <<< ERROR!
> java.util.concurrent.TimeoutException: Futures timed out after [10000 
> milliseconds]
>       at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:219)
>       at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:153)
>       at scala.concurrent.Await$$anonfun$ready$1.apply(package.scala:86)
>       at scala.concurrent.Await$$anonfun$ready$1.apply(package.scala:86)
>       at 
> scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
>       at scala.concurrent.Await$.ready(package.scala:86)
>       at 
> org.apache.flink.runtime.minicluster.FlinkMiniCluster.waitForTaskManagersToBeRegistered(FlinkMiniCluster.scala:455)
>       at 
> org.apache.flink.runtime.minicluster.FlinkMiniCluster.waitForTaskManagersToBeRegistered(FlinkMiniCluster.scala:439)
>       at 
> org.apache.flink.runtime.leaderelection.LeaderChangeStateCleanupTest.testStateCleanupAfterListenerNotification(LeaderChangeStateCleanupTest.java:181)
> {noformat}



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

Reply via email to