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

ZooKeeperServerEmbedded: enhance server start/stop for testability

    XMLWordPrintableJSON

    Details

      Description

      ZooKeeperServerEmbedded works well for running ZooKeeper but it lacks support for a few little features in order to use it for tests.

      I saw these problems while working on the port of Curator Testing Server to ZooKeeperServerEmbedded.

      • There is no wait to wait for the server to be up-and-running
      • When you "close()" the server, it does not wait for the ports to be closed
      • There is no wait to have the ConnectString for the server

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eolivelli Enrico Olivelli
                Reporter:
                eolivelli Enrico Olivelli
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m