Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test "connect no-op" failed #28

Open
abarre opened this issue Nov 27, 2012 · 0 comments
Open

Test "connect no-op" failed #28

abarre opened this issue Nov 27, 2012 · 0 comments

Comments

@abarre
Copy link
Contributor

abarre commented Nov 27, 2012

Since the commit 0881c8b, 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             

> zkplus@0.3.0 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant