Re: unit test failure

2010-08-03 Thread Martin Waite
Hi Mahadev, Sorry for the delay in replying: I have been away. I have rebuilt my debian lenny machine, and started again. Again, I have the same problem: ~/zookeeper-3.3.1/src/c$ make run-check make zktest-st zktest-mt make[1]: Entering directory `/home/martin/zookeeper-3.3.1/src/c' make[1]:

Re: unit test failure

2010-08-03 Thread Martin Waite
Hi, A little more information. The file TEST-Zookeeper_simpleSystem-st.txt contains some log data: 2010-08-03 13:00:13,550:11391:zoo_i...@zookeeper_init@727: Initiating client connection, host=127.0.0.1:22181 sessionTimeout=1 watcher=0x8078ed8 sessionId=0 sessionPasswd= context=0xbfffd73c fl

Re: unit test failure

2010-08-03 Thread Sergey Doroshenko
>> I don't really understand how the unit test system is meant to work. Yes, C tests start ZK server and are tested against it. There are a few that use mocked server, but that's a legacy code I think. Re the problem itself: 1) check ZK server logs at build/tmp/ , maybe log contains some info abo

Re: unit test failure

2010-08-03 Thread Martin Waite
Hi Sergey, Thanks for the hints. 1) I cannot find any ZK server logs. I have no tmp directory inside build directory. This sounds bad. 2) I have run "ps -ef | grep zoo". There are no zk processes running. I wonder if I have missed some steps. So far I have: 1. built a new debian lenny

Re: unit test failure

2010-08-03 Thread Sergey Doroshenko
Yes. It seems you didn't build the server actually. In the main directory (from where you ran "and compile_jute") run "ant". This will invoke ant's default target which will build the server code. After that run either "make run-check" from src/c, or "ant test-core-cppunit" from the main dir. On T