Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-114

TestingServer should expose restart() method.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • Tests
    • None

    Description

      Currently restarting the TestingServer involves:

      server.stop()
      server = new TestingServer(server.getPort(), server.getTempDirectory());

      The underlying Zookeeper testing server that is contained within TestingServer supports a restart() method. It would be cleaner to expose this on the TestingServer interface, so a restart would simply involve:

      server.restart()

      Attachments

        Activity

          People

            randgalt Jordan Zimmerman
            cammckenzie Cam McKenzie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: