You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2015/09/09 14:29:46 UTC

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

     [ https://issues.apache.org/jira/browse/CURATOR-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jordan Zimmerman closed CURATOR-245.
------------------------------------
    Resolution: Won't Fix

> 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)