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

Many ZooKeeper tests are flaky because they proceed with zk operation without connecting to ZooKeeper server.

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5.3, 3.6.0
    • tests
    • None
    • Reviewed

    Description

      Many ZooKeeper tests are flaky because they proceed with zk operation without connecting to ZooKeeper server.
      Recently in our build org.apache.zookeeper.server.ZooKeeperServerMainTest.testStandalone() failed.
      After analyzing we found that it is failed because it is not waiting for ZooKeeper client get connected to server. In this case normally zookeeper client gets connected immediately but if not connected immediately the test case is bound to fail.
      Not only ZooKeeperServerMainTest but there are many other classes which have such test cases. This jira is to address all those test cases.

      Attachments

        1. ZOOKEEPER-2508-01.patch
          61 kB
          Mohammad Arshad
        2. ZOOKEEPER-2508-02.patch
          62 kB
          Mohammad Arshad
        3. ZOOKEEPER-2508-03.patch
          56 kB
          Mohammad Arshad
        4. ZOOKEEPER-2508-04.patch
          56 kB
          Mohammad Arshad
        5. ZOOKEEPER-2508-05.patch
          52 kB
          Mohammad Arshad
        6. ZOOKEEPER-2508-06.patch
          52 kB
          Mohammad Arshad

        Issue Links

          Activity

            People

              arshad.mohammad Mohammad Arshad
              arshad.mohammad Mohammad Arshad
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: