Skip to content

Commit

Permalink
Enable random port choice for TcpConnection tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwippermann committed Feb 15, 2014
1 parent eb2b23a commit b320a13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/specs/tcp-connection.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ var rawDataPacket = new Buffer([


var testConnection = function(done, callback) {
var endpoint = new TcpConnectionEndpoint();
var endpoint = new TcpConnectionEndpoint({
port: 0,
});

var createEndpointSocketPromise = function() {
var deferred = Q.defer();
Expand Down

0 comments on commit b320a13

Please sign in to comment.