diff --git a/test/pummel/test-net-many-clients.js b/test/pummel/test-net-many-clients.js index 3f394b8abe..83ff181990 100644 --- a/test/pummel/test-net-many-clients.js +++ b/test/pummel/test-net-many-clients.js @@ -37,12 +37,11 @@ for (var i = 0; i < bytes; i++) { } var server = net.createServer(function(c) { - c.on('connect', function() { - total_connections++; - common.print('#'); - c.write(body); - c.end(); - }); + console.log('connected'); + total_connections++; + common.print('#'); + c.write(body); + c.end(); }); function runClient(callback) {