diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-10-23 22:22:24 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-10-23 22:22:24 +0400 |
commit | d9a5edb2b076063058a0631c5389b053f649dd1d (patch) | |
tree | 205b66cc51d9677ae6c95902857b65b95f816f22 /test | |
parent | dd5273747670bf1be250df7b84525096e1d23775 (diff) |
Fix test-net-eaddrinuse
Diffstat (limited to 'test')
-rw-r--r-- | test/simple/test-net-eaddrinuse.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/simple/test-net-eaddrinuse.js b/test/simple/test-net-eaddrinuse.js index 7a46f6292cc..9278eb5492a 100644 --- a/test/simple/test-net-eaddrinuse.js +++ b/test/simple/test-net-eaddrinuse.js @@ -6,9 +6,9 @@ var server1 = net.createServer(function (socket) { }); var server2 = net.createServer(function (socket) { }); -server1.listen(31337); +server1.listen(common.PORT); server2.addListener('error', function(error) { assert.equal(true, error.message.indexOf('EADDRINUSE') >= 0); server1.close(); }); -server2.listen(31337); +server2.listen(common.PORT); |