Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10588

Fail to clean internal structure in the test on Zookeeper Discovery Spi

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 2.8
    • None
    • None
    • None
    • Docs Required

    Description

      In ZookeeperDiscoverySpiTest#testTopologyChangeMultithreaded_RestartZk[1] and ZookeeperDiscoverySpiTest#testTopologyChangeMultithreaded_RestartZk_CloseClients[2] sometimes fails check on clean internal structure [3]. It seems that it is too small timeout on waiting for condition.

      junit.framework.AssertionFailedError: Expected: <null> but was: ZkCommunicationErrorProcessFuture [impl=org.apache.ignite.spi.discovery.zk.internal.ZookeeperDiscoveryImpl@61e86192, endTime=1544622093736, id=ed20d92a761-4bcce1f9-712a-4c88-a52f-1bafdea00019, state=DONE, resolveTopVer=0, resErr=class org.apache.ignite.IgniteCheckedException: Node stopped., collectResFut=null]
          at org.apache.ignite.spi.discovery.zk.internal.ZookeeperDiscoverySpiTest.checkInternalStructuresCleanup(ZookeeperDiscoverySpiTest.java:545)
          at org.apache.ignite.spi.discovery.zk.internal.ZookeeperDiscoverySpiTest.afterTest(ZookeeperDiscoverySpiTest.java:504)
      

      [1]https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=4243396221762709202&tab=testDetails 
      [2]https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=-158901212115483601&tab=testDetails 
      [3] https://github.com/apache/ignite/blob/master/modules/zookeeper/src/test/java/org/apache/ignite/spi/discovery/zk/internal/ZookeeperDiscoverySpiTest.java#L539

      Attachments

        Issue Links

          Activity

            People

              ivanan.fed Ivan Fedotov
              ivanan.fed Ivan Fedotov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: