{"action":"created","comment":{"url":"https://api.github.com/repos/mogilefs-moji/moji/pulls/comments/82746063","pull_request_review_id":3631108,"id":82746063,"diff_hunk":"@@ -133,4 +133,62 @@ String newKey() {\n     return newKey(RandomStringUtils.randomAlphanumeric(16));\n   }\n \n+  private void initMogileTestData() throws IOException {\n+    if(initMogileTestDataIsDone) {","path":"src/test/java/fm/last/moji/integration/AbstractMojiIT.java","position":57,"original_position":57,"commit_id":"1c5d7df3cfe25c7abb34f63c5fb66f798f26cf65","original_commit_id":"1c5d7df3cfe25c7abb34f63c5fb66f798f26cf65","user":{"login":"massdosage","id":29457,"avatar_url":"https://avatars.githubusercontent.com/u/29457?v=3","gravatar_id":"","url":"https://api.github.com/users/massdosage","html_url":"https://github.com/massdosage","followers_url":"https://api.github.com/users/massdosage/followers","following_url":"https://api.github.com/users/massdosage/following{/other_user}","gists_url":"https://api.github.com/users/massdosage/gists{/gist_id}","starred_url":"https://api.github.com/users/massdosage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/massdosage/subscriptions","organizations_url":"https://api.github.com/users/massdosage/orgs","repos_url":"https://api.github.com/users/massdosage/repos","events_url":"https://api.github.com/users/massdosage/events{/privacy}","received_events_url":"https://api.github.com/users/massdosage/received_events","type":"User","site_admin":false},"body":"Are you trying to ensure this method is only called *once*? If so you could just annotate it with @BeforeClass and not call it from @Before, I think that will get the behaviour you are trying to achieve without having to do this yourself.","created_at":"2016-10-11T08:34:06Z","updated_at":"2016-10-11T08:40:00Z","html_url":"https://github.com/mogilefs-moji/moji/pull/28#discussion_r82746063","pull_request_url":"https://api.github.com/repos/mogilefs-moji/moji/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/mogilefs-moji/moji/pulls/comments/82746063"},"html":{"href":"https://github.com/mogilefs-moji/moji/pull/28#discussion_r82746063"},"pull_request":{"href":"https://api.github.com/repos/mogilefs-moji/moji/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/mogilefs-moji/moji/pulls/28","id":88580582,"html_url":"https://github.com/mogilefs-moji/moji/pull/28","diff_url":"https://github.com/mogilefs-moji/moji/pull/28.diff","patch_url":"https://github.com/mogilefs-moji/moji/pull/28.patch","issue_url":"https://api.github.com/repos/mogilefs-moji/moji/issues/28","number":28,"state":"open","locked":false,"title":"Init integration test in pure  java","user":{"login":"hrchu","id":3183314,"avatar_url":"https://avatars.githubusercontent.com/u/3183314?v=3","gravatar_id":"","url":"https://api.github.com/users/hrchu","html_url":"https://github.com/hrchu","followers_url":"https://api.github.com/users/hrchu/followers","following_url":"https://api.github.com/users/hrchu/following{/other_user}","gists_url":"https://api.github.com/users/hrchu/gists{/gist_id}","starred_url":"https://api.github.com/users/hrchu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrchu/subscriptions","organizations_url":"https://api.github.com/users/hrchu/orgs","repos_url":"https://api.github.com/users/hrchu/repos","events_url":"https://api.github.com/users/hrchu/events{/privacy}","received_events_url":"https://api.github.com/users/hrchu/received_events","type":"User","site_admin":false},"body":"Integration test depended on mogtools and scripts. It is troublesome to setup test environment for ordinary java programmers. Rewrite the script to pure java code to solve the problem.\r\n","created_at":"2016-10-09T13:23:20Z","updated_at":"2016-10-11T08:40:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"492213adb5ca967636cdc7757aa0af04d771fc48","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mogilefs-moji/moji/pulls/28/commits","review_comments_url":"https://api.github.com/repos/mogilefs-moji/moji/pulls/28/comments","review_comment_url":"https://api.github.com/repos/mogilefs-moji/moji/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mogilefs-moji/moji/issues/28/comments","statuses_url":"https://api.github.com/repos/mogilefs-moji/moji/statuses/1c5d7df3cfe25c7abb34f63c5fb66f798f26cf65","head":{"label":"mogilefs-moji:enhance/removeIntegrationTestNonJavaDependency","ref":"enhance/removeIntegrationTestNonJavaDependency","sha":"1c5d7df3cfe25c7abb34f63c5fb66f798f26cf65","user":{"login":"mogilefs-moji","id":13795644,"avatar_url":"https://avatars.githubusercontent.com/u/13795644?v=3","gravatar_id":"","url":"https://api.github.com/users/mogilefs-moji","html_url":"https://github.com/mogilefs-moji","followers_url":"https://api.github.com/users/mogilefs-moji/followers","following_url":"https://api.github.com/users/mogilefs-moji/following{/other_user}","gists_url":"https://api.github.com/users/mogilefs-moji/gists{/gist_id}","starred_url":"https://api.github.com/users/mogilefs-moji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogilefs-moji/subscriptions","organizations_url":"https://api.github.com/users/mogilefs-moji/orgs","repos_url":"https://api.github.com/users/mogilefs-moji/repos","events_url":"https://api.github.com/users/mogilefs-moji/events{/privacy}","received_events_url":"https://api.github.com/users/mogilefs-moji/received_events","type":"Organization","site_admin":false},"repo":{"id":2303255,"name":"moji","full_name":"mogilefs-moji/moji","owner":{"login":"mogilefs-moji","id":13795644,"avatar_url":"https://avatars.githubusercontent.com/u/13795644?v=3","gravatar_id":"","url":"https://api.github.com/users/mogilefs-moji","html_url":"https://github.com/mogilefs-moji","followers_url":"https://api.github.com/users/mogilefs-moji/followers","following_url":"https://api.github.com/users/mogilefs-moji/following{/other_user}","gists_url":"https://api.github.com/users/mogilefs-moji/gists{/gist_id}","starred_url":"https://api.github.com/users/mogilefs-moji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogilefs-moji/subscriptions","organizations_url":"https://api.github.com/users/mogilefs-moji/orgs","repos_url":"https://api.github.com/users/mogilefs-moji/repos","events_url":"https://api.github.com/users/mogilefs-moji/events{/privacy}","received_events_url":"https://api.github.com/users/mogilefs-moji/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mogilefs-moji/moji","description":"A file-like MogileFS client for Java","fork":false,"url":"https://api.github.com/repos/mogilefs-moji/moji","forks_url":"https://api.github.com/repos/mogilefs-moji/moji/forks","keys_url":"https://api.github.com/repos/mogilefs-moji/moji/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mogilefs-moji/moji/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mogilefs-moji/moji/teams","hooks_url":"https://api.github.com/repos/mogilefs-moji/moji/hooks","issue_events_url":"https://api.github.com/repos/mogilefs-moji/moji/issues/events{/number}","events_url":"https://api.github.com/repos/mogilefs-moji/moji/events","assignees_url":"https://api.github.com/repos/mogilefs-moji/moji/assignees{/user}","branches_url":"https://api.github.com/repos/mogilefs-moji/moji/branches{/branch}","tags_url":"https://api.github.com/repos/mogilefs-moji/moji/tags","blobs_url":"https://api.github.com/repos/mogilefs-moji/moji/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mogilefs-moji/moji/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mogilefs-moji/moji/git/refs{/sha}","trees_url":"https://api.github.com/repos/mogilefs-moji/moji/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mogilefs-moji/moji/statuses/{sha}","languages_url":"https://api.github.com/repos/mogilefs-moji/moji/languages","stargazers_url":"https://api.github.com/repos/mogilefs-moji/moji/stargazers","contributors_url":"https://api.github.com/repos/mogilefs-moji/moji/contributors","subscribers_url":"https://api.github.com/repos/mogilefs-moji/moji/subscribers","subscription_url":"https://api.github.com/repos/mogilefs-moji/moji/subscription","commits_url":"https://api.github.com/repos/mogilefs-moji/moji/commits{/sha}","git_commits_url":"https://api.github.com/repos/mogilefs-moji/moji/git/commits{/sha}","comments_url":"https://api.github.com/repos/mogilefs-moji/moji/comments{/number}","issue_comment_url":"https://api.github.com/repos/mogilefs-moji/moji/issues/comments{/number}","contents_url":"https://api.github.com/repos/mogilefs-moji/moji/contents/{+path}","compare_url":"https://api.github.com/repos/mogilefs-moji/moji/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mogilefs-moji/moji/merges","archive_url":"https://api.github.com/repos/mogilefs-moji/moji/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mogilefs-moji/moji/downloads","issues_url":"https://api.github.com/repos/mogilefs-moji/moji/issues{/number}","pulls_url":"https://api.github.com/repos/mogilefs-moji/moji/pulls{/number}","milestones_url":"https://api.github.com/repos/mogilefs-moji/moji/milestones{/number}","notifications_url":"https://api.github.com/repos/mogilefs-moji/moji/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mogilefs-moji/moji/labels{/name}","releases_url":"https://api.github.com/repos/mogilefs-moji/moji/releases{/id}","deployments_url":"https://api.github.com/repos/mogilefs-moji/moji/deployments","created_at":"2011-08-31T18:29:11Z","updated_at":"2016-08-25T17:43:57Z","pushed_at":"2016-10-11T08:30:23Z","git_url":"git://github.com/mogilefs-moji/moji.git","ssh_url":"git@github.com:mogilefs-moji/moji.git","clone_url":"https://github.com/mogilefs-moji/moji.git","svn_url":"https://github.com/mogilefs-moji/moji","homepage":"","size":409,"stargazers_count":19,"watchers_count":19,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":3,"forks":13,"open_issues":3,"watchers":19,"default_branch":"master"}},"base":{"label":"mogilefs-moji:master","ref":"master","sha":"8dc83d3f06c3dbc07ff1bbde60eabcaaaf99fde1","user":{"login":"mogilefs-moji","id":13795644,"avatar_url":"https://avatars.githubusercontent.com/u/13795644?v=3","gravatar_id":"","url":"https://api.github.com/users/mogilefs-moji","html_url":"https://github.com/mogilefs-moji","followers_url":"https://api.github.com/users/mogilefs-moji/followers","following_url":"https://api.github.com/users/mogilefs-moji/following{/other_user}","gists_url":"https://api.github.com/users/mogilefs-moji/gists{/gist_id}","starred_url":"https://api.github.com/users/mogilefs-moji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogilefs-moji/subscriptions","organizations_url":"https://api.github.com/users/mogilefs-moji/orgs","repos_url":"https://api.github.com/users/mogilefs-moji/repos","events_url":"https://api.github.com/users/mogilefs-moji/events{/privacy}","received_events_url":"https://api.github.com/users/mogilefs-moji/received_events","type":"Organization","site_admin":false},"repo":{"id":2303255,"name":"moji","full_name":"mogilefs-moji/moji","owner":{"login":"mogilefs-moji","id":13795644,"avatar_url":"https://avatars.githubusercontent.com/u/13795644?v=3","gravatar_id":"","url":"https://api.github.com/users/mogilefs-moji","html_url":"https://github.com/mogilefs-moji","followers_url":"https://api.github.com/users/mogilefs-moji/followers","following_url":"https://api.github.com/users/mogilefs-moji/following{/other_user}","gists_url":"https://api.github.com/users/mogilefs-moji/gists{/gist_id}","starred_url":"https://api.github.com/users/mogilefs-moji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogilefs-moji/subscriptions","organizations_url":"https://api.github.com/users/mogilefs-moji/orgs","repos_url":"https://api.github.com/users/mogilefs-moji/repos","events_url":"https://api.github.com/users/mogilefs-moji/events{/privacy}","received_events_url":"https://api.github.com/users/mogilefs-moji/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mogilefs-moji/moji","description":"A file-like MogileFS client for Java","fork":false,"url":"https://api.github.com/repos/mogilefs-moji/moji","forks_url":"https://api.github.com/repos/mogilefs-moji/moji/forks","keys_url":"https://api.github.com/repos/mogilefs-moji/moji/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mogilefs-moji/moji/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mogilefs-moji/moji/teams","hooks_url":"https://api.github.com/repos/mogilefs-moji/moji/hooks","issue_events_url":"https://api.github.com/repos/mogilefs-moji/moji/issues/events{/number}","events_url":"https://api.github.com/repos/mogilefs-moji/moji/events","assignees_url":"https://api.github.com/repos/mogilefs-moji/moji/assignees{/user}","branches_url":"https://api.github.com/repos/mogilefs-moji/moji/branches{/branch}","tags_url":"https://api.github.com/repos/mogilefs-moji/moji/tags","blobs_url":"https://api.github.com/repos/mogilefs-moji/moji/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mogilefs-moji/moji/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mogilefs-moji/moji/git/refs{/sha}","trees_url":"https://api.github.com/repos/mogilefs-moji/moji/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mogilefs-moji/moji/statuses/{sha}","languages_url":"https://api.github.com/repos/mogilefs-moji/moji/languages","stargazers_url":"https://api.github.com/repos/mogilefs-moji/moji/stargazers","contributors_url":"https://api.github.com/repos/mogilefs-moji/moji/contributors","subscribers_url":"https://api.github.com/repos/mogilefs-moji/moji/subscribers","subscription_url":"https://api.github.com/repos/mogilefs-moji/moji/subscription","commits_url":"https://api.github.com/repos/mogilefs-moji/moji/commits{/sha}","git_commits_url":"https://api.github.com/repos/mogilefs-moji/moji/git/commits{/sha}","comments_url":"https://api.github.com/repos/mogilefs-moji/moji/comments{/number}","issue_comment_url":"https://api.github.com/repos/mogilefs-moji/moji/issues/comments{/number}","contents_url":"https://api.github.com/repos/mogilefs-moji/moji/contents/{+path}","compare_url":"https://api.github.com/repos/mogilefs-moji/moji/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mogilefs-moji/moji/merges","archive_url":"https://api.github.com/repos/mogilefs-moji/moji/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mogilefs-moji/moji/downloads","issues_url":"https://api.github.com/repos/mogilefs-moji/moji/issues{/number}","pulls_url":"https://api.github.com/repos/mogilefs-moji/moji/pulls{/number}","milestones_url":"https://api.github.com/repos/mogilefs-moji/moji/milestones{/number}","notifications_url":"https://api.github.com/repos/mogilefs-moji/moji/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mogilefs-moji/moji/labels{/name}","releases_url":"https://api.github.com/repos/mogilefs-moji/moji/releases{/id}","deployments_url":"https://api.github.com/repos/mogilefs-moji/moji/deployments","created_at":"2011-08-31T18:29:11Z","updated_at":"2016-08-25T17:43:57Z","pushed_at":"2016-10-11T08:30:23Z","git_url":"git://github.com/mogilefs-moji/moji.git","ssh_url":"git@github.com:mogilefs-moji/moji.git","clone_url":"https://github.com/mogilefs-moji/moji.git","svn_url":"https://github.com/mogilefs-moji/moji","homepage":"","size":409,"stargazers_count":19,"watchers_count":19,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":3,"forks":13,"open_issues":3,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mogilefs-moji/moji/pulls/28"},"html":{"href":"https://github.com/mogilefs-moji/moji/pull/28"},"issue":{"href":"https://api.github.com/repos/mogilefs-moji/moji/issues/28"},"comments":{"href":"https://api.github.com/repos/mogilefs-moji/moji/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/mogilefs-moji/moji/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/mogilefs-moji/moji/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mogilefs-moji/moji/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/mogilefs-moji/moji/statuses/1c5d7df3cfe25c7abb34f63c5fb66f798f26cf65"}}}}
{"actor":{"display_login":"massdosage"}}