Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20428

ZooKeeperLeaderElectionConnectionHandlingTest.testConnectionSuspendedHandlingDuringInitialization failed with "No result is expected since there was no leader elected before stopping the server, yet"

    XMLWordPrintableJSON

Details

    Description

      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

      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)
      

      Attachments

        Issue Links

          Activity

            People

              wangyang0918 Yang Wang
              dian.fu Dian Fu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: