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

Long sleep when setting up TestingServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.8.0
    • None
    • Tests
    • None

    Description

      We have unit tests with TestingServer which started taking much longer tie after upgrading to 2.8.0. I found that the following had been added to TestingZooKeeperMain.blockUntilStarted() since the previous version we used (2.4.1):

      Thread.sleep(1000);

      In our case this made the tests use a lot more time than previously.

      Is the sleep really necessary? Is it possible to workaround it (couldn't find any easy way)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hmusum Harald Musum
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: