Skip to content

Commit eec75ea

Browse files
committed
die on client/query errors in integration tests
1 parent 49f5da8 commit eec75ea

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

test/integration/client/test-helper.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,7 @@ module.exports = {
1010
host: helper.args.host,
1111
port: helper.args.port
1212
});
13-
client.on('error', function(e, d) {
14-
console.log(e);
15-
});
16-
var rawQuery = client.query;
17-
client.query = function() {
18-
var q = rawQuery.apply(this, arguments);
19-
q.on('error', function(e) {
20-
console.log(e);
21-
});
22-
return q;
23-
};
13+
2414
client.connect();
2515
return client;
2616
},

0 commit comments

Comments
 (0)