You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2008/08/08 23:03:44 UTC

[jira] Updated: (ZOOKEEPER-61) Address (remove) use of sleep(#) in client/server test cases.

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

Patrick Hunt updated ZOOKEEPER-61:
----------------------------------

    Component/s:     (was: build)
                 tests

> Address (remove) use of sleep(#) in client/server test cases.
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-61
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-61
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>
> Many of the java client/server test cases use "sleep(x)" during initial rendezvous. This makes the tests slow, very brittle and they tend to fail occasionally during CI (depending on load). In particular I've seen QuorumTest exhibit this.
> Would also be nice if we could extract the "base" client/server test functionality to enable re-use and make test writing easier. I started this with ClientBase in tests but could do a better job.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.