summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-recv-handle.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-recv-handle.js')
-rw-r--r--test/parallel/test-child-process-recv-handle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-child-process-recv-handle.js b/test/parallel/test-child-process-recv-handle.js
index 5c16c7a1c6..441740e2d4 100644
--- a/test/parallel/test-child-process-recv-handle.js
+++ b/test/parallel/test-child-process-recv-handle.js
@@ -24,7 +24,7 @@ function master() {
});
proc.stdout.on('data', function(data) {
assert.equal(data, 'ok\r\n');
- net.createServer(common.fail).listen(common.PORT, function() {
+ net.createServer(common.fail).listen(0, function() {
handle = this._handle;
proc.send('one');
proc.send('two', handle);