Skip to content

Commit

Permalink
failing max listeners test
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Dec 21, 2012
1 parent 7f6f264 commit 4058f75
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/max_listeners.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var spawn = require('child_process').spawn;
var ps = spawn(process.execPath, [ __dirname + '/max_listeners/source.js' ]);
ps.stdout.pipe(process.stdout, { end : false });

ps.stderr.on('data', function (buf) {
console.log('not ok ' + buf);
});
5 changes: 5 additions & 0 deletions test/max_listeners/source.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var test = require('../../');

for (var i = 0; i < 11; i ++) {
test(function (t) { t.end() });
}

0 comments on commit 4058f75

Please sign in to comment.