Skip to content
Browse files

no longer need to explicitly close on session_expiration, since

node-zookeeper closes it underneath us. this was needed previously to
stop memory leaks
  • Loading branch information...
1 parent fa2b71b commit a6f338ffafc58836e569fe33b4d09baa2282a94a Yunong Xiao committed Nov 14, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 test/client.test.js
View
1 test/client.test.js
@@ -290,7 +290,6 @@ test('connect to expired session', function (t) {
});
ZK2.on('error', function (err) {
t.equal(err.code, zk.ZSESSIONEXPIRED);
- ZK2.close();
t.end();
});
ZK2.connect();

0 comments on commit a6f338f

Please sign in to comment.
Something went wrong with that request. Please try again.