You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Harald Musum (JIRA)" <ji...@apache.org> on 2015/08/17 14:37:45 UTC

[jira] [Created] (CURATOR-245) Long sleep when setting up TestingServer

Harald Musum created CURATOR-245:
------------------------------------

             Summary: Long sleep when setting up TestingServer
                 Key: CURATOR-245
                 URL: https://issues.apache.org/jira/browse/CURATOR-245
             Project: Apache Curator
          Issue Type: Bug
          Components: Tests
    Affects Versions: 2.8.0
            Reporter: Harald Musum
            Priority: Minor


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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)