You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2020/12/01 04:10:00 UTC

[jira] [Commented] (FLINK-20428) ZooKeeperLeaderElectionConnectionHandlingTest.testConnectionSuspendedHandlingDuringInitialization failed with "No result is expected since there was no leader elected before stopping the server, yet"

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

Yang Wang commented on FLINK-20428:
-----------------------------------

I will have a look on the failed test.

> 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
>            Priority: Critical
>              Labels: test-stability
>
> 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)