{"action":"opened","issue":{"url":"https://api.github.com/repos/squaremo/rabbit.js/issues/114","labels_url":"https://api.github.com/repos/squaremo/rabbit.js/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/squaremo/rabbit.js/issues/114/comments","events_url":"https://api.github.com/repos/squaremo/rabbit.js/issues/114/events","html_url":"https://github.com/squaremo/rabbit.js/issues/114","id":108891362,"number":114,"title":"bump amqp.node version to 0.4.4 (Node 4.x)","user":{"login":"jcollum","id":704514,"avatar_url":"https://avatars.githubusercontent.com/u/704514?v=3","gravatar_id":"","url":"https://api.github.com/users/jcollum","html_url":"https://github.com/jcollum","followers_url":"https://api.github.com/users/jcollum/followers","following_url":"https://api.github.com/users/jcollum/following{/other_user}","gists_url":"https://api.github.com/users/jcollum/gists{/gist_id}","starred_url":"https://api.github.com/users/jcollum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcollum/subscriptions","organizations_url":"https://api.github.com/users/jcollum/orgs","repos_url":"https://api.github.com/users/jcollum/repos","events_url":"https://api.github.com/users/jcollum/events{/privacy}","received_events_url":"https://api.github.com/users/jcollum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-29T15:12:44Z","updated_at":"2015-09-29T15:12:44Z","closed_at":null,"body":"I tried to fork and update but one of the tests is failing: \r\n\r\n```\r\n08:01 ~/work/rabbit.js  (master)$ ./node_modules/mocha/bin/mocha --ui exports test -g 'closeConne'\r\n\r\nUsing connection parameters:\r\n\"amqp://localhost\"\r\n\r\n  1) closeConnectionWithoutSocket\r\nPotentially unhandled rejection [1] IllegalOperationError: Connection closed (Closed by client)\r\n    at Connection.close (/Users/collumj/work/rabbit.js/node_modules/amqplib/lib/connection.js:405:14)\r\n    at ChannelModel.CM.close (/Users/collumj/work/rabbit.js/node_modules/amqplib/lib/channel_model.js:33:19)\r\n    at /Users/collumj/work/rabbit.js/lib/sockets.js:81:7\r\n    at tryCatchReject (/Users/collumj/work/rabbit.js/node_modules/amqplib/node_modules/when/lib/makePromise.js:840:30)\r\n    at runContinuation1 (/Users/collumj/work/rabbit.js/node_modules/amqplib/node_modules/when/lib/makePromise.js:799:4)\r\n    at Fulfilled.when (/Users/collumj/work/rabbit.js/node_modules/amqplib/node_modules/when/lib/makePromise.js:590:4)\r\n    at ContinuationTask.run (/Users/collumj/work/rabbit.js/node_modules/amqplib/node_modules/when/lib/makePromise.js:697:24)\r\n    at Scheduler._drain (/Users/collumj/work/rabbit.js/node_modules/amqplib/node_modules/when/lib/Scheduler.js:62:19)\r\n    at Scheduler.drain (/Users/collumj/work/rabbit.js/node_modules/amqplib/node_modules/when/lib/Scheduler.js:27:9)\r\n    at doNTCallback0 (node.js:407:9)\r\n    at process._tickCallback (node.js:336:13)\r\n\r\n  0 passing (2m)\r\n  1 failing\r\n\r\n  1)  closeConnectionWithoutSocket:\r\n     Error: done() invoked with non-Error: Closed by client\r\n      at Context.closeAndDone (test/tests.js:50:15)\r\n      at Connection.C.toClosed (node_modules/amqplib/lib/connection.js:411:8)\r\n      at Connection.accept (node_modules/amqplib/lib/connection.js:378:12)\r\n      at Socket.go (node_modules/amqplib/lib/connection.js:474:48)\r\n      at emitReadable_ (_stream_readable.js:411:10)\r\n      at emitReadable (_stream_readable.js:405:7)\r\n      at readableAddChunk (_stream_readable.js:157:11)\r\n      at Socket.Readable.push (_stream_readable.js:110:10)\r\n      at TCP.onread (net.js:523:20)\r\n\r\n```\r\n\r\nI couldn't make any sense out of that error message. Anyway, I thought you'd like to know that only one of your tests if failing when you bump to amqplib 0.4.x and node 4.0.x. \r\n\r\nhttps://github.com/jcollum/rabbit.js"}}