{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/6609","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6609/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6609/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6609/events","html_url":"https://github.com/mozilla/pdf.js/issues/6609","id":115748678,"number":6609,"title":"Do not hardcode ports in test.js","user":{"login":"Rob--W","id":1365071,"avatar_url":"https://avatars.githubusercontent.com/u/1365071?v=3","gravatar_id":"","url":"https://api.github.com/users/Rob--W","html_url":"https://github.com/Rob--W","followers_url":"https://api.github.com/users/Rob--W/followers","following_url":"https://api.github.com/users/Rob--W/following{/other_user}","gists_url":"https://api.github.com/users/Rob--W/gists{/gist_id}","starred_url":"https://api.github.com/users/Rob--W/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rob--W/subscriptions","organizations_url":"https://api.github.com/users/Rob--W/orgs","repos_url":"https://api.github.com/users/Rob--W/repos","events_url":"https://api.github.com/users/Rob--W/events{/privacy}","received_events_url":"https://api.github.com/users/Rob--W/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/1-test","name":"1-test","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-08T17:51:39Z","updated_at":"2015-11-10T14:40:12Z","closed_at":null,"body":"Currently test.js defaults to port 8000 if a port is not given.\r\n\r\nBut if I have something else running at port 8000, then I cannot use `node make test` because there is no way to change the port.\r\n\r\nCan we set the port to `0`, so that Node.js automatically chooses a free port? Then we can also run multiple tests next to each other (in theory)."},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/155437470","html_url":"https://github.com/mozilla/pdf.js/issues/6609#issuecomment-155437470","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6609","id":155437470,"user":{"login":"yurydelendik","id":1523410,"avatar_url":"https://avatars.githubusercontent.com/u/1523410?v=3","gravatar_id":"","url":"https://api.github.com/users/yurydelendik","html_url":"https://github.com/yurydelendik","followers_url":"https://api.github.com/users/yurydelendik/followers","following_url":"https://api.github.com/users/yurydelendik/following{/other_user}","gists_url":"https://api.github.com/users/yurydelendik/gists{/gist_id}","starred_url":"https://api.github.com/users/yurydelendik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurydelendik/subscriptions","organizations_url":"https://api.github.com/users/yurydelendik/orgs","repos_url":"https://api.github.com/users/yurydelendik/repos","events_url":"https://api.github.com/users/yurydelendik/events{/privacy}","received_events_url":"https://api.github.com/users/yurydelendik/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T14:40:12Z","updated_at":"2015-11-10T14:40:12Z","body":"There is not problem in moving test server to a different port, e.g. 5-digit number (auto-choosing a free port might introduce many unless code)"}}