node-zkplus
node-zkplus copied to clipboard
Test "connect no-op" failed
Since the commit 0881c8b5668e9f10c2da2aa34649291df2ed861d, the test "connect no-op" fails.
Here some infos :
node v0.8.8 zookeeper 3.4.3
My server is correctly running during the test session.
-> % npm test
> [email protected] test /Users/anthony/Fasterize/zkplusmcavage
> ./node_modules/.bin/nodeunit ./test/*.test.js
client.test.js
2012-11-27 13:37:17,888:32301:ZOO_INFO@log_env@712: Client environment:zookeeper.version=zookeeper C client 3.4.3
2012-11-27 13:37:17,889:32301:ZOO_INFO@log_env@716: Client environment:host.name=minifast.fr.cedexis.com
2012-11-27 13:37:17,889:32301:ZOO_INFO@log_env@723: Client environment:os.name=Darwin
2012-11-27 13:37:17,889:32301:ZOO_INFO@log_env@724: Client environment:os.arch=11.4.2
2012-11-27 13:37:17,889:32301:ZOO_INFO@log_env@725: Client environment:os.version=Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
2012-11-27 13:37:17,889:32301:ZOO_INFO@log_env@733: Client environment:user.name=anthony
2012-11-27 13:37:17,889:32301:ZOO_INFO@log_env@741: Client environment:user.home=/Users/anthony
2012-11-27 13:37:17,889:32301:ZOO_INFO@log_env@753: Client environment:user.dir=/Users/anthony/Fasterize/zkplusmcavage
2012-11-27 13:37:17,889:32301:ZOO_INFO@zookeeper_init@786: Initiating client connection, host=192.168.56.11:2181 sessionTimeout=1000 watcher=0x100f9636e sessionId=0 sessionPasswd=<null> context=0x1019009c0 flags=0
2012-11-27 13:37:17,889:32301:ZOO_INFO@yield@361: starting poll and timer with fd, interest
2012-11-27 13:37:17,890:32301:ZOO_WARN@zk_uv_cb@377: zookeeper is (re)-connecting
2012-11-27 13:37:17,890:32301:ZOO_INFO@zk_uv_cb@399: (re)-connection completed
2012-11-27 13:37:17,890:32301:ZOO_INFO@check_events@1735: initiated connection to server [192.168.56.11:2181]
2012-11-27 13:37:17,890:32301:ZOO_INFO@yield@361: starting poll and timer with fd, interest
2012-11-27 13:37:17,892:32301:ZOO_INFO@check_events@1783: session establishment complete on server [192.168.56.11:2181], sessionId=0x13b41217c7b0049, negotiated timeout=4000
2012-11-27 13:37:17,892:32301:ZOO_INFO@yield@361: starting poll and timer with fd, interest
2012-11-27 13:37:17,892:32301:ZOO_INFO@yield@361: starting poll and timer with fd, interest
2012-11-27 13:37:17,893:32301:ZOO_INFO@yield@361: starting poll and timer with fd, interest
2012-11-27 13:37:17,894:32301:ZOO_INFO@yield@361: starting poll and timer with fd, interest
2012-11-27 13:37:17,895:32301:ZOO_INFO@yield@361: starting poll and timer with fd, interest
2012-11-27 13:37:17,896:32301:ZOO_INFO@log_env@712: Client environment:zookeeper.version=zookeeper C client 3.4.3
2012-11-27 13:37:17,896:32301:ZOO_INFO@log_env@716: Client environment:host.name=minifast.fr.cedexis.com
2012-11-27 13:37:17,896:32301:ZOO_INFO@log_env@723: Client environment:os.name=Darwin
2012-11-27 13:37:17,896:32301:ZOO_INFO@log_env@724: Client environment:os.arch=11.4.2
2012-11-27 13:37:17,896:32301:ZOO_INFO@log_env@725: Client environment:os.version=Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
2012-11-27 13:37:17,896:32301:ZOO_INFO@log_env@733: Client environment:user.name=anthony
2012-11-27 13:37:17,896:32301:ZOO_INFO@log_env@741: Client environment:user.home=/Users/anthony
2012-11-27 13:37:17,896:32301:ZOO_INFO@log_env@753: Client environment:user.dir=/Users/anthony/Fasterize/zkplusmcavage
2012-11-27 13:37:17,896:32301:ZOO_INFO@zookeeper_init@786: Initiating client connection, host=192.168.56.11:2181 sessionTimeout=1000 watcher=0x100f9636e sessionId=0 sessionPasswd=<null> context=0x1019009c0 flags=0
2012-11-27 13:37:17,896:32301:ZOO_INFO@yield@361: starting poll and timer with fd, interest
2012-11-27 13:37:17,896:32301:ZOO_ERROR@zookeeper_interest@1565: Exceeded timeout and disconnected from server.
2012-11-27 13:37:17,896:32301:ZOO_WARN@yield@325: yield:zookeeper_interest returned error: -112 - session expired
2012-11-27 13:37:17,896:32301:ZOO_ERROR@yield@327: not restarting poll and timer since session expired
FAILURES: Undone tests (or their setups/teardowns):
- connect no-op
To fix this, make sure all tests call test.done()
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0