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

Commit

Permalink
Browse files Browse the repository at this point in the history
Use common.PORT to avoid conflicts
  • Loading branch information
felixge committed Dec 18, 2011
1 parent f2f3028 commit ec51bfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/simple/test-net-server-listen-remove-callback.js
Expand Up @@ -32,9 +32,9 @@ server.on('close', function() {
assert.equal(0, listeners.length);
});

server.listen(3000, function() {
server.listen(common.PORT, function() {
server.close();
server.listen(3001, function() {
server.listen(common.PORT + 1, function() {
server.close();
});
});

0 comments on commit ec51bfc

Please sign in to comment.