[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797589#comment-13797589
 ] 

Germán Blanco commented on ZOOKEEPER-1742:
------------------------------------------

Last comment was not complete. It fails in that test case both in Mac and 
Linux, but it fails in more test cases in Mac:
{noformat}
tests/TestZookeeperClose.cc:127: Assertion: equality assertion failed 
[Expected: 0, Actual  : -4]
tests/TestOperations.cc:270: Assertion: equality assertion failed [Expected: 1, 
Actual  : 0]
tests/TestOperations.cc:339: Assertion: assertion failed [Expression: 
timeMock==zh->last_recv]
tests/TestOperations.cc:407: Assertion: equality assertion failed [Expected: 1, 
Actual  : 0]
tests/TestOperations.cc:212: Assertion: equality assertion failed [Expected: 
-7, Actual  : 0]
Failures !!!
Run: 41   Failure total: 5   Failures: 5   Errors: 0

FAIL: zktest-mt
===============

 ZooKeeper server startedRunning 
.
.
.
Zookeeper_close::testCloseUnconnected1 : elapsed 87 : OK
Zookeeper_close::testCloseConnected1Assertion failed: (cptr), function 
zookeeper_process, file src/zookeeper.c, line 2649.
{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.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)

Reply via email to