Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
test: don't let debugger listen on common.PORT
Browse files Browse the repository at this point in the history
simple/test-debugger-repl has a tendency to fail and leave behind a stray
process that listens on common.PORT, making later tests fail with EADDRINUSE.
  • Loading branch information
bnoordhuis committed Mar 15, 2012
1 parent dc75232 commit f9aa01d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/simple/test-debugger-repl.js
Expand Up @@ -27,7 +27,8 @@ var debug = require('_debugger');

var script = common.fixturesDir + '/breakpoints.js';

var child = spawn(process.execPath, ['debug', '--port=' + common.PORT, script]);
var child = spawn(process.execPath,
['debug', '--port=' + (common.PORT + 1337), script]);

var buffer = '';
child.stdout.setEncoding('utf-8');
Expand Down

0 comments on commit f9aa01d

Please sign in to comment.