curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harald Musum (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CURATOR-245) Long sleep when setting up TestingServer
Date Mon, 17 Aug 2015 12:37:45 GMT
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)

Mime
View raw message