{"action":"opened","number":6700,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/6700","id":69749836,"html_url":"https://github.com/nodejs/node/pull/6700","diff_url":"https://github.com/nodejs/node/pull/6700.diff","patch_url":"https://github.com/nodejs/node/pull/6700.patch","issue_url":"https://api.github.com/repos/nodejs/node/issues/6700","number":6700,"state":"open","locked":false,"title":"test: add --repeat option to tools/test.py","user":{"login":"mhdawson","id":9373002,"avatar_url":"https://avatars.githubusercontent.com/u/9373002?v=3","gravatar_id":"","url":"https://api.github.com/users/mhdawson","html_url":"https://github.com/mhdawson","followers_url":"https://api.github.com/users/mhdawson/followers","following_url":"https://api.github.com/users/mhdawson/following{/other_user}","gists_url":"https://api.github.com/users/mhdawson/gists{/gist_id}","starred_url":"https://api.github.com/users/mhdawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhdawson/subscriptions","organizations_url":"https://api.github.com/users/mhdawson/orgs","repos_url":"https://api.github.com/users/mhdawson/repos","events_url":"https://api.github.com/users/mhdawson/events{/privacy}","received_events_url":"https://api.github.com/users/mhdawson/received_events","type":"User","site_admin":false},"body":"##### Checklist\r\n\r\n<!-- remove lines that do not apply to you -->\r\n\r\n- [X] tests and code linting passes\r\n- [X] the commit message follows commit guidelines\r\n\r\n##### Affected core subsystem(s)\r\n\r\ntest\r\n\r\n##### Description of change\r\n\r\nI often want to run a test many times to see if a failure\r\ncan be recreated and I believe this is a common\r\nuse case.  We even have this job in the CI\r\nhttps://ci.nodejs.org/job/node-stress-single-test/configure\r\nbut often you want to run it on a specific machine.\r\n\r\nThis patch adds the --repeat option so that\r\nyou can repeat the selected set of tests a\r\nnumber of times. Given existing options\r\nin test.py this will allow you to run\r\none or more tests for the number of\r\nrepeats specified. For example:\r\n\r\ntools/test.py -j8 --repeat 1000 parallel/test-process-exec-argv\r\n\r\nruns the test-process-exec-argv test 1000 times,\r\nrunning 8 copies in parallel\r\n\r\ntools/test.py --repeat 2\r\n\r\nwould run the entire test suite twice\r\n\r\n\u001B","created_at":"2016-05-11T22:01:54Z","updated_at":"2016-05-11T22:01:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/node/pulls/6700/commits","review_comments_url":"https://api.github.com/repos/nodejs/node/pulls/6700/comments","review_comment_url":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/node/issues/6700/comments","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/4f3d1a6bddbdceebbbfaa5fa1a3949d6c46db413","head":{"label":"mhdawson:stress","ref":"stress","sha":"4f3d1a6bddbdceebbbfaa5fa1a3949d6c46db413","user":{"login":"mhdawson","id":9373002,"avatar_url":"https://avatars.githubusercontent.com/u/9373002?v=3","gravatar_id":"","url":"https://api.github.com/users/mhdawson","html_url":"https://github.com/mhdawson","followers_url":"https://api.github.com/users/mhdawson/followers","following_url":"https://api.github.com/users/mhdawson/following{/other_user}","gists_url":"https://api.github.com/users/mhdawson/gists{/gist_id}","starred_url":"https://api.github.com/users/mhdawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhdawson/subscriptions","organizations_url":"https://api.github.com/users/mhdawson/orgs","repos_url":"https://api.github.com/users/mhdawson/repos","events_url":"https://api.github.com/users/mhdawson/events{/privacy}","received_events_url":"https://api.github.com/users/mhdawson/received_events","type":"User","site_admin":false},"repo":{"id":38691521,"name":"io.js","full_name":"mhdawson/io.js","owner":{"login":"mhdawson","id":9373002,"avatar_url":"https://avatars.githubusercontent.com/u/9373002?v=3","gravatar_id":"","url":"https://api.github.com/users/mhdawson","html_url":"https://github.com/mhdawson","followers_url":"https://api.github.com/users/mhdawson/followers","following_url":"https://api.github.com/users/mhdawson/following{/other_user}","gists_url":"https://api.github.com/users/mhdawson/gists{/gist_id}","starred_url":"https://api.github.com/users/mhdawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhdawson/subscriptions","organizations_url":"https://api.github.com/users/mhdawson/orgs","repos_url":"https://api.github.com/users/mhdawson/repos","events_url":"https://api.github.com/users/mhdawson/events{/privacy}","received_events_url":"https://api.github.com/users/mhdawson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mhdawson/io.js","description":"Future Node.js releases will be based on io.js","fork":true,"url":"https://api.github.com/repos/mhdawson/io.js","forks_url":"https://api.github.com/repos/mhdawson/io.js/forks","keys_url":"https://api.github.com/repos/mhdawson/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mhdawson/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mhdawson/io.js/teams","hooks_url":"https://api.github.com/repos/mhdawson/io.js/hooks","issue_events_url":"https://api.github.com/repos/mhdawson/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/mhdawson/io.js/events","assignees_url":"https://api.github.com/repos/mhdawson/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/mhdawson/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/mhdawson/io.js/tags","blobs_url":"https://api.github.com/repos/mhdawson/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mhdawson/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mhdawson/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mhdawson/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mhdawson/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mhdawson/io.js/languages","stargazers_url":"https://api.github.com/repos/mhdawson/io.js/stargazers","contributors_url":"https://api.github.com/repos/mhdawson/io.js/contributors","subscribers_url":"https://api.github.com/repos/mhdawson/io.js/subscribers","subscription_url":"https://api.github.com/repos/mhdawson/io.js/subscription","commits_url":"https://api.github.com/repos/mhdawson/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mhdawson/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mhdawson/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mhdawson/io.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mhdawson/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/mhdawson/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mhdawson/io.js/merges","archive_url":"https://api.github.com/repos/mhdawson/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mhdawson/io.js/downloads","issues_url":"https://api.github.com/repos/mhdawson/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/mhdawson/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mhdawson/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mhdawson/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mhdawson/io.js/labels{/name}","releases_url":"https://api.github.com/repos/mhdawson/io.js/releases{/id}","deployments_url":"https://api.github.com/repos/mhdawson/io.js/deployments","created_at":"2015-07-07T14:04:11Z","updated_at":"2016-01-14T22:40:07Z","pushed_at":"2016-05-11T22:00:15Z","git_url":"git://github.com/mhdawson/io.js.git","ssh_url":"git@github.com:mhdawson/io.js.git","clone_url":"https://github.com/mhdawson/io.js.git","svn_url":"https://github.com/mhdawson/io.js","homepage":"https://iojs.org","size":188544,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nodejs:master","ref":"master","sha":"fe4837afcc17566a44a7744fb77c195e7b3bf2fd","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"name":"node","full_name":"nodejs/node","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/node","description":"Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:","fork":false,"url":"https://api.github.com/repos/nodejs/node","forks_url":"https://api.github.com/repos/nodejs/node/forks","keys_url":"https://api.github.com/repos/nodejs/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/node/teams","hooks_url":"https://api.github.com/repos/nodejs/node/hooks","issue_events_url":"https://api.github.com/repos/nodejs/node/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/node/events","assignees_url":"https://api.github.com/repos/nodejs/node/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/node/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/node/tags","blobs_url":"https://api.github.com/repos/nodejs/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/node/languages","stargazers_url":"https://api.github.com/repos/nodejs/node/stargazers","contributors_url":"https://api.github.com/repos/nodejs/node/contributors","subscribers_url":"https://api.github.com/repos/nodejs/node/subscribers","subscription_url":"https://api.github.com/repos/nodejs/node/subscription","commits_url":"https://api.github.com/repos/nodejs/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/node/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/node/merges","archive_url":"https://api.github.com/repos/nodejs/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/node/downloads","issues_url":"https://api.github.com/repos/nodejs/node/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/node/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/node/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/node/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/node/releases{/id}","deployments_url":"https://api.github.com/repos/nodejs/node/deployments","created_at":"2014-11-26T19:57:11Z","updated_at":"2016-05-11T21:36:46Z","pushed_at":"2016-05-11T21:58:11Z","git_url":"git://github.com/nodejs/node.git","ssh_url":"git@github.com:nodejs/node.git","clone_url":"https://github.com/nodejs/node.git","svn_url":"https://github.com/nodejs/node","homepage":"https://nodejs.org","size":259356,"stargazers_count":23060,"watchers_count":23060,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3243,"mirror_url":null,"open_issues_count":656,"forks":3243,"open_issues":656,"watchers":23060,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/node/pulls/6700"},"html":{"href":"https://github.com/nodejs/node/pull/6700"},"issue":{"href":"https://api.github.com/repos/nodejs/node/issues/6700"},"comments":{"href":"https://api.github.com/repos/nodejs/node/issues/6700/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/node/pulls/6700/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/node/pulls/6700/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/node/statuses/4f3d1a6bddbdceebbbfaa5fa1a3949d6c46db413"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":6,"changed_files":1}}