You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Clint Byrum (Updated) (JIRA)" <ji...@apache.org> on 2012/01/06 22:52:39 UTC
[jira] [Updated] (ZOOKEEPER-1353) C client test suite fails
consistently
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clint Byrum updated ZOOKEEPER-1353:
-----------------------------------
Attachment: fix-broken-c-client-unittest.patch
> C client test suite fails consistently
> --------------------------------------
>
> Key: ZOOKEEPER-1353
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1353
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Affects Versions: 3.3.4
> Environment: Ubuntu precise (dev release), amd64
> Reporter: Clint Byrum
> Priority: Minor
> Labels: patch, test
> Attachments: fix-broken-c-client-unittest.patch
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> When the c client test suite, zktest-mt, is run, it fails with this:
> tests/TestZookeeperInit.cc:233: Assertion: equality assertion failed [Expected: 2, Actual : 22]
> This was also reported in 3.3.1 here:
> http://www.mail-archive.com/zookeeper-dev@hadoop.apache.org/msg08914.html
> The C client tests are making some assumptions that are not valid. getaddrinfo may have, at one time, returned ENOENT instead of EINVAL for the host given in the test. The assertion should simply be that EINVAL | ENOENT are given, so that builds on platforms which return ENOENT for this are not broken.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira