curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Zimmerman (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CURATOR-245) Long sleep when setting up TestingServer
Date Wed, 09 Sep 2015 12:29:46 GMT

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

Mime
View raw message