diff --git a/test/integration/client/test-helper.js b/test/integration/client/test-helper.js index 3e7785a..6cc8146 100644 --- a/test/integration/client/test-helper.js +++ b/test/integration/client/test-helper.js @@ -10,17 +10,7 @@ module.exports = { host: helper.args.host, port: helper.args.port }); - client.on('error', function(e, d) { - console.log(e); - }); - var rawQuery = client.query; - client.query = function() { - var q = rawQuery.apply(this, arguments); - q.on('error', function(e) { - console.log(e); - }); - return q; - }; + client.connect(); return client; },