{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/pingcap/gofail/pulls/1","id":230703505,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNzAzNTA1","html_url":"https://github.com/pingcap/gofail/pull/1","diff_url":"https://github.com/pingcap/gofail/pull/1.diff","patch_url":"https://github.com/pingcap/gofail/pull/1.patch","issue_url":"https://api.github.com/repos/pingcap/gofail/issues/1","number":1,"state":"open","locked":false,"title":"*: add wait memchanism","user":{"login":"nolouch","id":6428910,"node_id":"MDQ6VXNlcjY0Mjg5MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/6428910?v=4","gravatar_id":"","url":"https://api.github.com/users/nolouch","html_url":"https://github.com/nolouch","followers_url":"https://api.github.com/users/nolouch/followers","following_url":"https://api.github.com/users/nolouch/following{/other_user}","gists_url":"https://api.github.com/users/nolouch/gists{/gist_id}","starred_url":"https://api.github.com/users/nolouch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolouch/subscriptions","organizations_url":"https://api.github.com/users/nolouch/orgs","repos_url":"https://api.github.com/users/nolouch/repos","events_url":"https://api.github.com/users/nolouch/events{/privacy}","received_events_url":"https://api.github.com/users/nolouch/received_events","type":"User","site_admin":false},"body":"use the command in the test file.\r\n```\r\n// gofail: wait\r\n```\r\nand notify the wait chan in runtime:\r\n```\r\nruntime.Notify(....)\r\n```","created_at":"2018-11-14T04:05:29Z","updated_at":"2018-11-14T04:05:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pingcap/gofail/pulls/1/commits","review_comments_url":"https://api.github.com/repos/pingcap/gofail/pulls/1/comments","review_comment_url":"https://api.github.com/repos/pingcap/gofail/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingcap/gofail/issues/1/comments","statuses_url":"https://api.github.com/repos/pingcap/gofail/statuses/f377f34bbe08b84cf9c79bb18af3961a2e09abf8","head":{"label":"pingcap:add-wait","ref":"add-wait","sha":"f377f34bbe08b84cf9c79bb18af3961a2e09abf8","user":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"repo":{"id":157486162,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc0ODYxNjI=","name":"gofail","full_name":"pingcap/gofail","private":false,"owner":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pingcap/gofail","description":"failpoints for go","fork":true,"url":"https://api.github.com/repos/pingcap/gofail","forks_url":"https://api.github.com/repos/pingcap/gofail/forks","keys_url":"https://api.github.com/repos/pingcap/gofail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingcap/gofail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingcap/gofail/teams","hooks_url":"https://api.github.com/repos/pingcap/gofail/hooks","issue_events_url":"https://api.github.com/repos/pingcap/gofail/issues/events{/number}","events_url":"https://api.github.com/repos/pingcap/gofail/events","assignees_url":"https://api.github.com/repos/pingcap/gofail/assignees{/user}","branches_url":"https://api.github.com/repos/pingcap/gofail/branches{/branch}","tags_url":"https://api.github.com/repos/pingcap/gofail/tags","blobs_url":"https://api.github.com/repos/pingcap/gofail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingcap/gofail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingcap/gofail/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingcap/gofail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingcap/gofail/statuses/{sha}","languages_url":"https://api.github.com/repos/pingcap/gofail/languages","stargazers_url":"https://api.github.com/repos/pingcap/gofail/stargazers","contributors_url":"https://api.github.com/repos/pingcap/gofail/contributors","subscribers_url":"https://api.github.com/repos/pingcap/gofail/subscribers","subscription_url":"https://api.github.com/repos/pingcap/gofail/subscription","commits_url":"https://api.github.com/repos/pingcap/gofail/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingcap/gofail/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingcap/gofail/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingcap/gofail/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingcap/gofail/contents/{+path}","compare_url":"https://api.github.com/repos/pingcap/gofail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingcap/gofail/merges","archive_url":"https://api.github.com/repos/pingcap/gofail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingcap/gofail/downloads","issues_url":"https://api.github.com/repos/pingcap/gofail/issues{/number}","pulls_url":"https://api.github.com/repos/pingcap/gofail/pulls{/number}","milestones_url":"https://api.github.com/repos/pingcap/gofail/milestones{/number}","notifications_url":"https://api.github.com/repos/pingcap/gofail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingcap/gofail/labels{/name}","releases_url":"https://api.github.com/repos/pingcap/gofail/releases{/id}","deployments_url":"https://api.github.com/repos/pingcap/gofail/deployments","created_at":"2018-11-14T03:40:22Z","updated_at":"2018-11-14T03:40:24Z","pushed_at":"2018-11-14T04:00:45Z","git_url":"git://github.com/pingcap/gofail.git","ssh_url":"git@github.com:pingcap/gofail.git","clone_url":"https://github.com/pingcap/gofail.git","svn_url":"https://github.com/pingcap/gofail","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"pingcap:master","ref":"master","sha":"51ce9a71510a58bad5ae66ddd278ef28762a1550","user":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"repo":{"id":157486162,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc0ODYxNjI=","name":"gofail","full_name":"pingcap/gofail","private":false,"owner":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pingcap/gofail","description":"failpoints for go","fork":true,"url":"https://api.github.com/repos/pingcap/gofail","forks_url":"https://api.github.com/repos/pingcap/gofail/forks","keys_url":"https://api.github.com/repos/pingcap/gofail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingcap/gofail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingcap/gofail/teams","hooks_url":"https://api.github.com/repos/pingcap/gofail/hooks","issue_events_url":"https://api.github.com/repos/pingcap/gofail/issues/events{/number}","events_url":"https://api.github.com/repos/pingcap/gofail/events","assignees_url":"https://api.github.com/repos/pingcap/gofail/assignees{/user}","branches_url":"https://api.github.com/repos/pingcap/gofail/branches{/branch}","tags_url":"https://api.github.com/repos/pingcap/gofail/tags","blobs_url":"https://api.github.com/repos/pingcap/gofail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingcap/gofail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingcap/gofail/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingcap/gofail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingcap/gofail/statuses/{sha}","languages_url":"https://api.github.com/repos/pingcap/gofail/languages","stargazers_url":"https://api.github.com/repos/pingcap/gofail/stargazers","contributors_url":"https://api.github.com/repos/pingcap/gofail/contributors","subscribers_url":"https://api.github.com/repos/pingcap/gofail/subscribers","subscription_url":"https://api.github.com/repos/pingcap/gofail/subscription","commits_url":"https://api.github.com/repos/pingcap/gofail/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingcap/gofail/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingcap/gofail/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingcap/gofail/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingcap/gofail/contents/{+path}","compare_url":"https://api.github.com/repos/pingcap/gofail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingcap/gofail/merges","archive_url":"https://api.github.com/repos/pingcap/gofail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingcap/gofail/downloads","issues_url":"https://api.github.com/repos/pingcap/gofail/issues{/number}","pulls_url":"https://api.github.com/repos/pingcap/gofail/pulls{/number}","milestones_url":"https://api.github.com/repos/pingcap/gofail/milestones{/number}","notifications_url":"https://api.github.com/repos/pingcap/gofail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingcap/gofail/labels{/name}","releases_url":"https://api.github.com/repos/pingcap/gofail/releases{/id}","deployments_url":"https://api.github.com/repos/pingcap/gofail/deployments","created_at":"2018-11-14T03:40:22Z","updated_at":"2018-11-14T03:40:24Z","pushed_at":"2018-11-14T04:00:45Z","git_url":"git://github.com/pingcap/gofail.git","ssh_url":"git@github.com:pingcap/gofail.git","clone_url":"https://github.com/pingcap/gofail.git","svn_url":"https://github.com/pingcap/gofail","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingcap/gofail/pulls/1"},"html":{"href":"https://github.com/pingcap/gofail/pull/1"},"issue":{"href":"https://api.github.com/repos/pingcap/gofail/issues/1"},"comments":{"href":"https://api.github.com/repos/pingcap/gofail/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/pingcap/gofail/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/pingcap/gofail/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingcap/gofail/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/pingcap/gofail/statuses/f377f34bbe08b84cf9c79bb18af3961a2e09abf8"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":70,"deletions":9,"changed_files":7}}
{"actor":{"display_login":"nolouch"}}