Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fixed: test/bundle sometimes selects privileged ports (<1000) #95

Closed
wants to merge 1 commit into from

2 participants

Nicholas Kinsey James Halliday
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 14, 2012
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/bundle.js
2  test/bundle.js
View
@@ -10,7 +10,7 @@ if (!path.existsSync(__dirname + '/../browser/bundle.js')) {
test('checkCookieHTTP', function (t) {
t.plan(3);
- var port = Math.floor(1e4 + (Math.random() * 5e4 - 1e4));
+ var port = Math.floor(Math.random() * 40000 + 10000);
var web = http.createServer(function (req, res) {
res.setHeader('set-cookie', [ 'foo=bar' ]);
Something went wrong with that request. Please try again.