Dian Fu created FLINK-20428: ------------------------------- Summary: ZooKeeperLeaderElectionConnectionHandlingTest.testConnectionSuspendedHandlingDuringInitialization failed with "No result is expected since there was no leader elected before stopping the server, yet" Key: FLINK-20428 URL: https://issues.apache.org/jira/browse/FLINK-20428 Project: Flink Issue Type: Bug Components: Runtime / Coordination Affects Versions: 1.13.0 Reporter: Dian Fu Fix For: 1.12.0
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=10327&view=logs&j=0da23115-68bb-5dcd-192c-bd4c8adebde1&t=05b74a19-4ee4-5036-c46f-ada307df6cf0 {code} 2020-11-30T13:22:47.5981970Z [ERROR] testConnectionSuspendedHandlingDuringInitialization(org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionConnectionHandlingTest) Time elapsed: 2.16 s <<< FAILURE! 2020-11-30T13:22:47.5984731Z java.lang.AssertionError: 2020-11-30T13:22:47.5985220Z No result is expected since there was no leader elected before stopping the server, yet. 2020-11-30T13:22:47.5985546Z Expected: is null 2020-11-30T13:22:47.5985866Z but: was <java.util.concurrent.CompletableFuture@53f3bdbd[Completed normally]> 2020-11-30T13:22:47.5986376Z at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) 2020-11-30T13:22:47.5986752Z at org.junit.Assert.assertThat(Assert.java:956) 2020-11-30T13:22:47.5990853Z at org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionConnectionHandlingTest.testConnectionSuspendedHandlingDuringInitialization(ZooKeeperLeaderElectionConnectionHandlingTest.java:106) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)