Permalink
Browse files

Workaround stupid new node feature

This is only needed for the test suite.
  • Loading branch information...
1 parent f22993a commit 62dc04be63c953a86cea6c8960a188c747380d45 @felixge committed Jan 18, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/common.js
View
@@ -20,3 +20,10 @@ global.assert = require('assert');
global.TEST_PORT = 13532;
global.TEST_FIXTURES = path.join(__dirname, 'fixture');
global.TEST_TMP = path.join(__dirname, 'tmp');
+
+// Stupid new feature in node that complains about gently attaching too many
+// listeners to process 'exit'. This is a workaround until I can think of a
+// better way to deal with this.
+if (process.setMaxListeners) {
+ process.setMaxListeners(10000);
+}

0 comments on commit 62dc04b

Please sign in to comment.