{"action":"created","comment":{"url":"https://api.github.com/repos/apache/curator/pulls/comments/38231696","id":38231696,"diff_hunk":"@@ -18,24 +18,12 @@\n  */\n package org.apache.curator.test;\n \n-import org.apache.zookeeper.WatchedEvent;\n-import org.apache.zookeeper.Watcher;\n import org.apache.zookeeper.ZooKeeper;\n-import java.util.concurrent.CountDownLatch;\n-import java.util.concurrent.TimeUnit;\n \n /**\n  * <p>\n- *     Utility to simulate a ZK session dying. See: <a href=\"http://wiki.apache.org/hadoop/ZooKeeper/FAQ#A4\">ZooKeeper FAQ</a>\n+ *     Utility to simulate a ZK session dying.\n  * </p>\n- *\n- * <blockquote>\n- *     In the case of testing we want to cause a problem, so to explicitly expire a session an\n- *     application connects to ZooKeeper, saves the session id and password, creates another\n- *     ZooKeeper handle with that id and password, and then closes the new handle. Since both\n- *     handles reference the same session, the close on second handle will invalidate the session\n- *     causing a SESSION_EXPIRED on the first handle.\n- * </blockquote>\n  */\n public class KillSession","path":"curator-test/src/main/java/org/apache/curator/test/KillSession.java","position":24,"original_position":24,"commit_id":"145da217ff35df0178823da784f4dd1618851c5e","original_commit_id":"145da217ff35df0178823da784f4dd1618851c5e","user":{"login":"Randgalt","id":264818,"avatar_url":"https://avatars.githubusercontent.com/u/264818?v=3","gravatar_id":"","url":"https://api.github.com/users/Randgalt","html_url":"https://github.com/Randgalt","followers_url":"https://api.github.com/users/Randgalt/followers","following_url":"https://api.github.com/users/Randgalt/following{/other_user}","gists_url":"https://api.github.com/users/Randgalt/gists{/gist_id}","starred_url":"https://api.github.com/users/Randgalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Randgalt/subscriptions","organizations_url":"https://api.github.com/users/Randgalt/orgs","repos_url":"https://api.github.com/users/Randgalt/repos","events_url":"https://api.github.com/users/Randgalt/events{/privacy}","received_events_url":"https://api.github.com/users/Randgalt/received_events","type":"User","site_admin":false},"body":"Yeah, probably a good thing. I'll add it.","created_at":"2015-08-28T18:50:43Z","updated_at":"2015-08-28T18:50:43Z","html_url":"https://github.com/apache/curator/pull/100#discussion_r38231696","pull_request_url":"https://api.github.com/repos/apache/curator/pulls/100","_links":{"self":{"href":"https://api.github.com/repos/apache/curator/pulls/comments/38231696"},"html":{"href":"https://github.com/apache/curator/pull/100#discussion_r38231696"},"pull_request":{"href":"https://api.github.com/repos/apache/curator/pulls/100"}}},"pull_request":{"url":"https://api.github.com/repos/apache/curator/pulls/100","id":43658634,"html_url":"https://github.com/apache/curator/pull/100","diff_url":"https://github.com/apache/curator/pull/100.diff","patch_url":"https://github.com/apache/curator/pull/100.patch","issue_url":"https://api.github.com/repos/apache/curator/issues/100","number":100,"state":"open","locked":false,"title":"[CURATOR-253] Use new injectSessionExpiration() in the test module","user":{"login":"Randgalt","id":264818,"avatar_url":"https://avatars.githubusercontent.com/u/264818?v=3","gravatar_id":"","url":"https://api.github.com/users/Randgalt","html_url":"https://github.com/Randgalt","followers_url":"https://api.github.com/users/Randgalt/followers","following_url":"https://api.github.com/users/Randgalt/following{/other_user}","gists_url":"https://api.github.com/users/Randgalt/gists{/gist_id}","starred_url":"https://api.github.com/users/Randgalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Randgalt/subscriptions","organizations_url":"https://api.github.com/users/Randgalt/orgs","repos_url":"https://api.github.com/users/Randgalt/repos","events_url":"https://api.github.com/users/Randgalt/events{/privacy}","received_events_url":"https://api.github.com/users/Randgalt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-28T18:41:26Z","updated_at":"2015-08-28T18:50:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fae3a3f6041cb36ec3b7edbd736343493817a612","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/curator/pulls/100/commits","review_comments_url":"https://api.github.com/repos/apache/curator/pulls/100/comments","review_comment_url":"https://api.github.com/repos/apache/curator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/curator/issues/100/comments","statuses_url":"https://api.github.com/repos/apache/curator/statuses/145da217ff35df0178823da784f4dd1618851c5e","head":{"label":"apache:CURATOR-253","ref":"CURATOR-253","sha":"145da217ff35df0178823da784f4dd1618851c5e","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":17359057,"name":"curator","full_name":"apache/curator","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/curator","description":"Mirror of Apache Curator","fork":false,"url":"https://api.github.com/repos/apache/curator","forks_url":"https://api.github.com/repos/apache/curator/forks","keys_url":"https://api.github.com/repos/apache/curator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/curator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/curator/teams","hooks_url":"https://api.github.com/repos/apache/curator/hooks","issue_events_url":"https://api.github.com/repos/apache/curator/issues/events{/number}","events_url":"https://api.github.com/repos/apache/curator/events","assignees_url":"https://api.github.com/repos/apache/curator/assignees{/user}","branches_url":"https://api.github.com/repos/apache/curator/branches{/branch}","tags_url":"https://api.github.com/repos/apache/curator/tags","blobs_url":"https://api.github.com/repos/apache/curator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/curator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/curator/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/curator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/curator/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/curator/languages","stargazers_url":"https://api.github.com/repos/apache/curator/stargazers","contributors_url":"https://api.github.com/repos/apache/curator/contributors","subscribers_url":"https://api.github.com/repos/apache/curator/subscribers","subscription_url":"https://api.github.com/repos/apache/curator/subscription","commits_url":"https://api.github.com/repos/apache/curator/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/curator/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/curator/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/curator/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/curator/contents/{+path}","compare_url":"https://api.github.com/repos/apache/curator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/curator/merges","archive_url":"https://api.github.com/repos/apache/curator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/curator/downloads","issues_url":"https://api.github.com/repos/apache/curator/issues{/number}","pulls_url":"https://api.github.com/repos/apache/curator/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/curator/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/curator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/curator/labels{/name}","releases_url":"https://api.github.com/repos/apache/curator/releases{/id}","created_at":"2014-03-03T08:00:07Z","updated_at":"2015-08-28T13:54:19Z","pushed_at":"2015-08-28T18:41:27Z","git_url":"git://github.com/apache/curator.git","ssh_url":"git@github.com:apache/curator.git","clone_url":"https://github.com/apache/curator.git","svn_url":"https://github.com/apache/curator","homepage":null,"size":21519,"stargazers_count":213,"watchers_count":213,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":137,"mirror_url":"git://git.apache.org/curator.git","open_issues_count":20,"forks":137,"open_issues":20,"watchers":213,"default_branch":"master"}},"base":{"label":"apache:CURATOR-3.0","ref":"CURATOR-3.0","sha":"0f5668b3127f280e6dd1d6d3ec665420e2d46b2d","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":17359057,"name":"curator","full_name":"apache/curator","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/curator","description":"Mirror of Apache Curator","fork":false,"url":"https://api.github.com/repos/apache/curator","forks_url":"https://api.github.com/repos/apache/curator/forks","keys_url":"https://api.github.com/repos/apache/curator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/curator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/curator/teams","hooks_url":"https://api.github.com/repos/apache/curator/hooks","issue_events_url":"https://api.github.com/repos/apache/curator/issues/events{/number}","events_url":"https://api.github.com/repos/apache/curator/events","assignees_url":"https://api.github.com/repos/apache/curator/assignees{/user}","branches_url":"https://api.github.com/repos/apache/curator/branches{/branch}","tags_url":"https://api.github.com/repos/apache/curator/tags","blobs_url":"https://api.github.com/repos/apache/curator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/curator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/curator/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/curator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/curator/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/curator/languages","stargazers_url":"https://api.github.com/repos/apache/curator/stargazers","contributors_url":"https://api.github.com/repos/apache/curator/contributors","subscribers_url":"https://api.github.com/repos/apache/curator/subscribers","subscription_url":"https://api.github.com/repos/apache/curator/subscription","commits_url":"https://api.github.com/repos/apache/curator/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/curator/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/curator/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/curator/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/curator/contents/{+path}","compare_url":"https://api.github.com/repos/apache/curator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/curator/merges","archive_url":"https://api.github.com/repos/apache/curator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/curator/downloads","issues_url":"https://api.github.com/repos/apache/curator/issues{/number}","pulls_url":"https://api.github.com/repos/apache/curator/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/curator/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/curator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/curator/labels{/name}","releases_url":"https://api.github.com/repos/apache/curator/releases{/id}","created_at":"2014-03-03T08:00:07Z","updated_at":"2015-08-28T13:54:19Z","pushed_at":"2015-08-28T18:41:27Z","git_url":"git://github.com/apache/curator.git","ssh_url":"git@github.com:apache/curator.git","clone_url":"https://github.com/apache/curator.git","svn_url":"https://github.com/apache/curator","homepage":null,"size":21519,"stargazers_count":213,"watchers_count":213,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":137,"mirror_url":"git://git.apache.org/curator.git","open_issues_count":20,"forks":137,"open_issues":20,"watchers":213,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/curator/pulls/100"},"html":{"href":"https://github.com/apache/curator/pull/100"},"issue":{"href":"https://api.github.com/repos/apache/curator/issues/100"},"comments":{"href":"https://api.github.com/repos/apache/curator/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/curator/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/curator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/curator/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/apache/curator/statuses/145da217ff35df0178823da784f4dd1618851c5e"}}}}