test: don't let debugger listen on common.PORT
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.
This commit is contained in:
parent
dc752327bb
commit
f9aa01de32
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user