Navigation Menu

Skip to content

Commit

Permalink
Specify port number for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 15, 2012
1 parent 790c22e commit aa4f40f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test-utils.js
Expand Up @@ -17,7 +17,8 @@ exports.testHost = testHost;
exports.testPort = testPort;

function setupServer(context) {
var server = gcsServer.createServer({context: context});
var server = gcsServer.createServer({ context: context,
port: testPort });
server.listen(testPort);
return server;
}
Expand Down

0 comments on commit aa4f40f

Please sign in to comment.