[
https://issues.apache.org/jira/browse/ZOOKEEPER-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Germán Blanco updated ZOOKEEPER-1742:
-------------------------------------
Attachment: ZOOKEEPER-1742-3.4.patch
The patch for branch 3.4 is attached.
Unfortunatelly, it doesn't look good either.
It fails in one other test case in Linux, also in the single threaded test:
{noformat}
tests/TestZookeeperClose.cc:127: Assertion: equality assertion failed
[Expected: 0, Actual : -4]
tests/TestClient.cc:363: Assertion: equality assertion failed [Expected: -101,
Actual : -4]
{noformat}
and the same test cases in Mac, although with a different message for the one
in the multithreaded case:
{noformat}
tests/TestZookeeperClose.cc:385: Assertion: equality assertion failed
[Expected: 1, Actual : 0]
{noformat}
> "make check" doesn't work on macos
> ----------------------------------
>
> Key: ZOOKEEPER-1742
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1742
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Flavio Junqueira
> Assignee: Benjamin Reed
> Fix For: 3.4.6, 3.5.0
>
> Attachments: ZOOKEEPER-1742-3.4.patch, ZOOKEEPER-1742.patch
>
>
> There are two problems I have spotted when running "make check" with the C
> client. First, it complains that the sleep call is not defined in two test
> files: tests/ZooKeeperQuorumServer.cc and tests/TestReconfigServer.cc.
> Including unistd.h works. The second problem is with linker options. It
> complains that "--wrap" is not a valid. I'm not sure how to deal with this
> one yet, since I'm not sure why we are using it.
--
This message was sent by Atlassian JIRA
(v6.1#6144)