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

Till Rohrmann commented on FLINK-2733:
--------------------------------------

The problem seems to be a connection loss to the {{ZooKeeper}} testing server. 
Two curator clients lose their connection to the testing server. I suspect that 
the testing listener is one of the affected components. As a consequence the 
testing listener is no longer notified about the changing leader election and 
the test fails.

I assume that this has something to do with the Travis instances and the 
resouce consumption, since I couldn't reproduce the problem locally. I propose 
to decrease the number of concurrently connected instances and to increase the 
connection timeout in order to harden the test case.

> ZooKeeperLeaderElectionTest.testZooKeeperReelection fails
> ---------------------------------------------------------
>
>                 Key: FLINK-2733
>                 URL: https://issues.apache.org/jira/browse/FLINK-2733
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Robert Metzger
>            Assignee: Till Rohrmann
>              Labels: test-stability
>
> I observed a test failure in this run: 
> https://travis-ci.org/rmetzger/flink/jobs/81571914
> {code}
> testZooKeeperReelection(org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionTest)
>   Time elapsed: 109.794 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<d6e0ee70-5192-4d44-8989-09f8425feecc> but 
> was:<null>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:144)
>       at 
> org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionTest.testZooKeeperReelection(ZooKeeperLeaderElectionTest.java:171)
> Results :
> Failed tests: 
>   ZooKeeperLeaderElectionTest.testZooKeeperReelection:171 
> expected:<d6e0ee70-5192-4d44-8989-09f8425feecc> but was:<null>
> {code}



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

Reply via email to