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 2010/01/26 00:50:34 UTC
[jira] Assigned: (ZOOKEEPER-413) two flaws need addressing in the c
tests that can cause false positive failures
[ https://issues.apache.org/jira/browse/ZOOKEEPER-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt reassigned ZOOKEEPER-413:
--------------------------------------
Assignee: Patrick Hunt (was: Mahadev konar)
> two flaws need addressing in the c tests that can cause false positive failures
> -------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-413
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-413
> Project: Zookeeper
> Issue Type: Bug
> Components: c client, tests
> Reporter: Patrick Hunt
> Assignee: Patrick Hunt
> Priority: Minor
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-413.patch
>
>
> 1) createClient in testclient.cc (check all tests) is not correctly waiting for syncconnected to the server
> 2) there are some instances of while(xxx); in the test code, this could cause problems, really we need to
> have some limit on the number of iterations (other than just the test, which may never return false), also the
> loop should have some sort of sleep(100msec) (whatever time) in order to limit cpu use.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.