{"action":"opened","number":7267,"pull_request":{"url":"https://api.github.com/repos/rg3/youtube-dl/pulls/7267","id":48466108,"html_url":"https://github.com/rg3/youtube-dl/pull/7267","diff_url":"https://github.com/rg3/youtube-dl/pull/7267.diff","patch_url":"https://github.com/rg3/youtube-dl/pull/7267.patch","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/7267","number":7267,"state":"open","locked":false,"title":"Parallel nosetests","user":{"login":"yan12125","id":1937689,"avatar_url":"https://avatars.githubusercontent.com/u/1937689?v=3","gravatar_id":"","url":"https://api.github.com/users/yan12125","html_url":"https://github.com/yan12125","followers_url":"https://api.github.com/users/yan12125/followers","following_url":"https://api.github.com/users/yan12125/following{/other_user}","gists_url":"https://api.github.com/users/yan12125/gists{/gist_id}","starred_url":"https://api.github.com/users/yan12125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yan12125/subscriptions","organizations_url":"https://api.github.com/users/yan12125/orgs","repos_url":"https://api.github.com/users/yan12125/repos","events_url":"https://api.github.com/users/yan12125/events{/privacy}","received_events_url":"https://api.github.com/users/yan12125/received_events","type":"User","site_admin":false},"body":"With this patch, there will be no more congestion in Travis CI tests. Tries to solve #5289 and #7193.\r\n\r\nImplementation considerations:\r\n1. 4 processors: just my intuition. Larger values are fine.\r\n2. 540-second timeout: Travis CI sets a 10-minute limit for output, I use 9 minutes.\r\n3. ```_multiprocess_shared_```: If I'm correct, ```setUp``` function of ```TestDownload``` is not reentrant. Is it?\r\n4. Print test names in case of network errors. Just for easier debugging of such errors.\r\n\r\nSee https://travis-ci.org/yan12125/youtube-dl/builds/86834580 for the result.","created_at":"2015-10-22T14:41:41Z","updated_at":"2015-10-22T14:41:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/7267/commits","review_comments_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/7267/comments","review_comment_url":"https://api.github.com/repos/rg3/youtube-dl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/7267/comments","statuses_url":"https://api.github.com/repos/rg3/youtube-dl/statuses/52d22e407eeb7ea494ecaa4c244331e8e181bdf6","head":{"label":"yan12125:parallel-nosetests","ref":"parallel-nosetests","sha":"52d22e407eeb7ea494ecaa4c244331e8e181bdf6","user":{"login":"yan12125","id":1937689,"avatar_url":"https://avatars.githubusercontent.com/u/1937689?v=3","gravatar_id":"","url":"https://api.github.com/users/yan12125","html_url":"https://github.com/yan12125","followers_url":"https://api.github.com/users/yan12125/followers","following_url":"https://api.github.com/users/yan12125/following{/other_user}","gists_url":"https://api.github.com/users/yan12125/gists{/gist_id}","starred_url":"https://api.github.com/users/yan12125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yan12125/subscriptions","organizations_url":"https://api.github.com/users/yan12125/orgs","repos_url":"https://api.github.com/users/yan12125/repos","events_url":"https://api.github.com/users/yan12125/events{/privacy}","received_events_url":"https://api.github.com/users/yan12125/received_events","type":"User","site_admin":false},"repo":{"id":14449844,"name":"youtube-dl","full_name":"yan12125/youtube-dl","owner":{"login":"yan12125","id":1937689,"avatar_url":"https://avatars.githubusercontent.com/u/1937689?v=3","gravatar_id":"","url":"https://api.github.com/users/yan12125","html_url":"https://github.com/yan12125","followers_url":"https://api.github.com/users/yan12125/followers","following_url":"https://api.github.com/users/yan12125/following{/other_user}","gists_url":"https://api.github.com/users/yan12125/gists{/gist_id}","starred_url":"https://api.github.com/users/yan12125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yan12125/subscriptions","organizations_url":"https://api.github.com/users/yan12125/orgs","repos_url":"https://api.github.com/users/yan12125/repos","events_url":"https://api.github.com/users/yan12125/events{/privacy}","received_events_url":"https://api.github.com/users/yan12125/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yan12125/youtube-dl","description":"Small command-line program to download videos from YouTube.com and other video sites","fork":true,"url":"https://api.github.com/repos/yan12125/youtube-dl","forks_url":"https://api.github.com/repos/yan12125/youtube-dl/forks","keys_url":"https://api.github.com/repos/yan12125/youtube-dl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yan12125/youtube-dl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yan12125/youtube-dl/teams","hooks_url":"https://api.github.com/repos/yan12125/youtube-dl/hooks","issue_events_url":"https://api.github.com/repos/yan12125/youtube-dl/issues/events{/number}","events_url":"https://api.github.com/repos/yan12125/youtube-dl/events","assignees_url":"https://api.github.com/repos/yan12125/youtube-dl/assignees{/user}","branches_url":"https://api.github.com/repos/yan12125/youtube-dl/branches{/branch}","tags_url":"https://api.github.com/repos/yan12125/youtube-dl/tags","blobs_url":"https://api.github.com/repos/yan12125/youtube-dl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yan12125/youtube-dl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yan12125/youtube-dl/git/refs{/sha}","trees_url":"https://api.github.com/repos/yan12125/youtube-dl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yan12125/youtube-dl/statuses/{sha}","languages_url":"https://api.github.com/repos/yan12125/youtube-dl/languages","stargazers_url":"https://api.github.com/repos/yan12125/youtube-dl/stargazers","contributors_url":"https://api.github.com/repos/yan12125/youtube-dl/contributors","subscribers_url":"https://api.github.com/repos/yan12125/youtube-dl/subscribers","subscription_url":"https://api.github.com/repos/yan12125/youtube-dl/subscription","commits_url":"https://api.github.com/repos/yan12125/youtube-dl/commits{/sha}","git_commits_url":"https://api.github.com/repos/yan12125/youtube-dl/git/commits{/sha}","comments_url":"https://api.github.com/repos/yan12125/youtube-dl/comments{/number}","issue_comment_url":"https://api.github.com/repos/yan12125/youtube-dl/issues/comments{/number}","contents_url":"https://api.github.com/repos/yan12125/youtube-dl/contents/{+path}","compare_url":"https://api.github.com/repos/yan12125/youtube-dl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yan12125/youtube-dl/merges","archive_url":"https://api.github.com/repos/yan12125/youtube-dl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yan12125/youtube-dl/downloads","issues_url":"https://api.github.com/repos/yan12125/youtube-dl/issues{/number}","pulls_url":"https://api.github.com/repos/yan12125/youtube-dl/pulls{/number}","milestones_url":"https://api.github.com/repos/yan12125/youtube-dl/milestones{/number}","notifications_url":"https://api.github.com/repos/yan12125/youtube-dl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yan12125/youtube-dl/labels{/name}","releases_url":"https://api.github.com/repos/yan12125/youtube-dl/releases{/id}","created_at":"2013-11-16T16:06:47Z","updated_at":"2015-08-05T06:29:11Z","pushed_at":"2015-10-22T14:08:30Z","git_url":"git://github.com/yan12125/youtube-dl.git","ssh_url":"git@github.com:yan12125/youtube-dl.git","clone_url":"https://github.com/yan12125/youtube-dl.git","svn_url":"https://github.com/yan12125/youtube-dl","homepage":"http://rg3.github.io/youtube-dl/","size":30834,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":4,"default_branch":"master"}},"base":{"label":"rg3:master","ref":"master","sha":"769078755318896fa1a6c5c8aba6f76d6aeddf78","user":{"login":"rg3","id":53487,"avatar_url":"https://avatars.githubusercontent.com/u/53487?v=3","gravatar_id":"","url":"https://api.github.com/users/rg3","html_url":"https://github.com/rg3","followers_url":"https://api.github.com/users/rg3/followers","following_url":"https://api.github.com/users/rg3/following{/other_user}","gists_url":"https://api.github.com/users/rg3/gists{/gist_id}","starred_url":"https://api.github.com/users/rg3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rg3/subscriptions","organizations_url":"https://api.github.com/users/rg3/orgs","repos_url":"https://api.github.com/users/rg3/repos","events_url":"https://api.github.com/users/rg3/events{/privacy}","received_events_url":"https://api.github.com/users/rg3/received_events","type":"User","site_admin":false},"repo":{"id":1039520,"name":"youtube-dl","full_name":"rg3/youtube-dl","owner":{"login":"rg3","id":53487,"avatar_url":"https://avatars.githubusercontent.com/u/53487?v=3","gravatar_id":"","url":"https://api.github.com/users/rg3","html_url":"https://github.com/rg3","followers_url":"https://api.github.com/users/rg3/followers","following_url":"https://api.github.com/users/rg3/following{/other_user}","gists_url":"https://api.github.com/users/rg3/gists{/gist_id}","starred_url":"https://api.github.com/users/rg3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rg3/subscriptions","organizations_url":"https://api.github.com/users/rg3/orgs","repos_url":"https://api.github.com/users/rg3/repos","events_url":"https://api.github.com/users/rg3/events{/privacy}","received_events_url":"https://api.github.com/users/rg3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rg3/youtube-dl","description":"Small command-line program to download videos from YouTube.com and other video sites","fork":false,"url":"https://api.github.com/repos/rg3/youtube-dl","forks_url":"https://api.github.com/repos/rg3/youtube-dl/forks","keys_url":"https://api.github.com/repos/rg3/youtube-dl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rg3/youtube-dl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rg3/youtube-dl/teams","hooks_url":"https://api.github.com/repos/rg3/youtube-dl/hooks","issue_events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/events{/number}","events_url":"https://api.github.com/repos/rg3/youtube-dl/events","assignees_url":"https://api.github.com/repos/rg3/youtube-dl/assignees{/user}","branches_url":"https://api.github.com/repos/rg3/youtube-dl/branches{/branch}","tags_url":"https://api.github.com/repos/rg3/youtube-dl/tags","blobs_url":"https://api.github.com/repos/rg3/youtube-dl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rg3/youtube-dl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rg3/youtube-dl/git/refs{/sha}","trees_url":"https://api.github.com/repos/rg3/youtube-dl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rg3/youtube-dl/statuses/{sha}","languages_url":"https://api.github.com/repos/rg3/youtube-dl/languages","stargazers_url":"https://api.github.com/repos/rg3/youtube-dl/stargazers","contributors_url":"https://api.github.com/repos/rg3/youtube-dl/contributors","subscribers_url":"https://api.github.com/repos/rg3/youtube-dl/subscribers","subscription_url":"https://api.github.com/repos/rg3/youtube-dl/subscription","commits_url":"https://api.github.com/repos/rg3/youtube-dl/commits{/sha}","git_commits_url":"https://api.github.com/repos/rg3/youtube-dl/git/commits{/sha}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/comments{/number}","issue_comment_url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments{/number}","contents_url":"https://api.github.com/repos/rg3/youtube-dl/contents/{+path}","compare_url":"https://api.github.com/repos/rg3/youtube-dl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rg3/youtube-dl/merges","archive_url":"https://api.github.com/repos/rg3/youtube-dl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rg3/youtube-dl/downloads","issues_url":"https://api.github.com/repos/rg3/youtube-dl/issues{/number}","pulls_url":"https://api.github.com/repos/rg3/youtube-dl/pulls{/number}","milestones_url":"https://api.github.com/repos/rg3/youtube-dl/milestones{/number}","notifications_url":"https://api.github.com/repos/rg3/youtube-dl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rg3/youtube-dl/labels{/name}","releases_url":"https://api.github.com/repos/rg3/youtube-dl/releases{/id}","created_at":"2010-10-31T14:35:07Z","updated_at":"2015-10-22T14:37:19Z","pushed_at":"2015-10-22T14:34:25Z","git_url":"git://github.com/rg3/youtube-dl.git","ssh_url":"git@github.com:rg3/youtube-dl.git","clone_url":"https://github.com/rg3/youtube-dl.git","svn_url":"https://github.com/rg3/youtube-dl","homepage":"http://rg3.github.io/youtube-dl/","size":144971,"stargazers_count":12192,"watchers_count":12192,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2498,"mirror_url":null,"open_issues_count":1332,"forks":2498,"open_issues":1332,"watchers":12192,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/7267"},"html":{"href":"https://github.com/rg3/youtube-dl/pull/7267"},"issue":{"href":"https://api.github.com/repos/rg3/youtube-dl/issues/7267"},"comments":{"href":"https://api.github.com/repos/rg3/youtube-dl/issues/7267/comments"},"review_comments":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/7267/comments"},"review_comment":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rg3/youtube-dl/pulls/7267/commits"},"statuses":{"href":"https://api.github.com/repos/rg3/youtube-dl/statuses/52d22e407eeb7ea494ecaa4c244331e8e181bdf6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":6,"deletions":4,"changed_files":2}}