Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1433

improve ZxidRolloverTest (test seems flakey)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.5
    • 3.3.6, 3.4.4, 3.5.0
    • tests
    • None
    • Reviewed

    Description

      In our jenkins job to run the ZooKeeper unit tests, org.apache.zookeeper.server.ZxidRolloverTest sometimes fails.

      E.g.,

      org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /foo0
      	at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
      	at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
      	at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:815)
      	at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:843)
      	at org.apache.zookeeper.server.ZxidRolloverTest.checkNodes(ZxidRolloverTest.java:154)
      	at org.apache.zookeeper.server.ZxidRolloverTest.testRolloverThenRestart(ZxidRolloverTest.java:211)
      

      Attachments

        1. ZOOKEEPER-1433_test.out
          920 kB
          Wing Yew Poon
        2. ZOOKEEPER-1433.patch
          7 kB
          Patrick D. Hunt

        Activity

          People

            phunt Patrick D. Hunt
            wypoon Wing Yew Poon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: