Permalink
Browse files

5e4 not 5e5

  • Loading branch information...
1 parent 7c884dc commit 29ce541bdcbd1292402463f4ae498270c7e976af @substack committed Apr 15, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 test/connect.js
  2. +1 −1 test/secret.js
  3. +1 −1 test/updown.js
View
@@ -4,7 +4,7 @@ var airport = require('../');
test('connect with upnode', function (t) {
t.plan(1);
- var port = Math.floor(Math.random() * 5e5 + 1e5);
+ var port = Math.floor(Math.random() * 5e4 + 1e4);
var server = seaport.createServer();
server.listen(port);
View
@@ -5,7 +5,7 @@ var upnode = require('upnode');
test('authenticated with secrets', function (t) {
t.plan(3);
- var port = Math.floor(Math.random() * 5e5 + 1e5);
+ var port = Math.floor(Math.random() * 5e4 + 1e4);
var server = seaport.createServer();
server.listen(port);
View
@@ -4,7 +4,7 @@ var airport = require('../');
test('up down', function (t) {
t.plan(5);
- var port = Math.floor(Math.random() * 5e5 + 1e5);
+ var port = Math.floor(Math.random() * 5e4 + 1e4);
var server = seaport.createServer();
server.listen(port);

0 comments on commit 29ce541

Please sign in to comment.