{"action":"created","comment":{"url":"https://api.github.com/repos/sushilks/hydra/pulls/comments/55604865","id":55604865,"diff_hunk":"@@ -26,42 +28,111 @@ def __init__(self, argv):\n             config_fn = argv[1]\n             del argv[1]\n         RunTestBase.__init__(self, 'zmqScale', config, config_fn)\n-\n-        zstpub = '/zst-pub'\n-        zstsub = '/zst-sub'\n-        self.add_appid(zstpub)\n-        self.add_appid(zstsub)\n+        self.zstpub = '/zst-pub'\n+        self.zstsub = '/zst-sub'\n+        self.add_appid(self.zstpub)\n+        self.add_appid(self.zstsub)\n+        #self.total_sub_apps = 200\n+        self.total_sub_apps = zmq_config.total_apps\n         self.start_init()\n+        self.run_test()\n+\n+    def run_test(self):\n+        # Launch zmq pub\n+        self.launch_zmq_pub()\n+\n+        # Launch zmq sub up to self.total_sub_apps\n+        self.launch_zmq_sub()\n+\n+        # Signal PUB to start sending all messages, blocks until PUB notifies\n+        l.info(\"Waiting for 10 secs before signalling PUB to send messages ..\")\n+        time.sleep(10)","path":"src/main/python/hydra/zmqtest/runtest.py","position":51,"original_position":51,"commit_id":"24cb13e9c75906ee6d46c2e5d0a69ebe77859cea","original_commit_id":"24cb13e9c75906ee6d46c2e5d0a69ebe77859cea","user":{"login":"sushilks","id":5265751,"avatar_url":"https://avatars.githubusercontent.com/u/5265751?v=3","gravatar_id":"","url":"https://api.github.com/users/sushilks","html_url":"https://github.com/sushilks","followers_url":"https://api.github.com/users/sushilks/followers","following_url":"https://api.github.com/users/sushilks/following{/other_user}","gists_url":"https://api.github.com/users/sushilks/gists{/gist_id}","starred_url":"https://api.github.com/users/sushilks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushilks/subscriptions","organizations_url":"https://api.github.com/users/sushilks/orgs","repos_url":"https://api.github.com/users/sushilks/repos","events_url":"https://api.github.com/users/sushilks/events{/privacy}","received_events_url":"https://api.github.com/users/sushilks/received_events","type":"User","site_admin":false},"body":"Not needed, in my case I did not see any effect of removing it.","created_at":"2016-03-09T22:49:42Z","updated_at":"2016-03-09T22:49:42Z","html_url":"https://github.com/sushilks/hydra/pull/10#discussion_r55604865","pull_request_url":"https://api.github.com/repos/sushilks/hydra/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/sushilks/hydra/pulls/comments/55604865"},"html":{"href":"https://github.com/sushilks/hydra/pull/10#discussion_r55604865"},"pull_request":{"href":"https://api.github.com/repos/sushilks/hydra/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/sushilks/hydra/pulls/10","id":62179682,"html_url":"https://github.com/sushilks/hydra/pull/10","diff_url":"https://github.com/sushilks/hydra/pull/10.diff","patch_url":"https://github.com/sushilks/hydra/pull/10.patch","issue_url":"https://api.github.com/repos/sushilks/hydra/issues/10","number":10,"state":"open","locked":false,"title":"ZMQ scale test","user":{"login":"kratos7","id":16633018,"avatar_url":"https://avatars.githubusercontent.com/u/16633018?v=3","gravatar_id":"","url":"https://api.github.com/users/kratos7","html_url":"https://github.com/kratos7","followers_url":"https://api.github.com/users/kratos7/followers","following_url":"https://api.github.com/users/kratos7/following{/other_user}","gists_url":"https://api.github.com/users/kratos7/gists{/gist_id}","starred_url":"https://api.github.com/users/kratos7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratos7/subscriptions","organizations_url":"https://api.github.com/users/kratos7/orgs","repos_url":"https://api.github.com/users/kratos7/repos","events_url":"https://api.github.com/users/kratos7/events{/privacy}","received_events_url":"https://api.github.com/users/kratos7/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-09T04:52:07Z","updated_at":"2016-03-09T22:49:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48c5cfcd578d71b05d69c6fa83bd78d0c444c2a2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sushilks/hydra/pulls/10/commits","review_comments_url":"https://api.github.com/repos/sushilks/hydra/pulls/10/comments","review_comment_url":"https://api.github.com/repos/sushilks/hydra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sushilks/hydra/issues/10/comments","statuses_url":"https://api.github.com/repos/sushilks/hydra/statuses/24cb13e9c75906ee6d46c2e5d0a69ebe77859cea","head":{"label":"kratos7:master","ref":"master","sha":"24cb13e9c75906ee6d46c2e5d0a69ebe77859cea","user":{"login":"kratos7","id":16633018,"avatar_url":"https://avatars.githubusercontent.com/u/16633018?v=3","gravatar_id":"","url":"https://api.github.com/users/kratos7","html_url":"https://github.com/kratos7","followers_url":"https://api.github.com/users/kratos7/followers","following_url":"https://api.github.com/users/kratos7/following{/other_user}","gists_url":"https://api.github.com/users/kratos7/gists{/gist_id}","starred_url":"https://api.github.com/users/kratos7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratos7/subscriptions","organizations_url":"https://api.github.com/users/kratos7/orgs","repos_url":"https://api.github.com/users/kratos7/repos","events_url":"https://api.github.com/users/kratos7/events{/privacy}","received_events_url":"https://api.github.com/users/kratos7/received_events","type":"User","site_admin":false},"repo":{"id":53220638,"name":"hydra","full_name":"kratos7/hydra","owner":{"login":"kratos7","id":16633018,"avatar_url":"https://avatars.githubusercontent.com/u/16633018?v=3","gravatar_id":"","url":"https://api.github.com/users/kratos7","html_url":"https://github.com/kratos7","followers_url":"https://api.github.com/users/kratos7/followers","following_url":"https://api.github.com/users/kratos7/following{/other_user}","gists_url":"https://api.github.com/users/kratos7/gists{/gist_id}","starred_url":"https://api.github.com/users/kratos7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratos7/subscriptions","organizations_url":"https://api.github.com/users/kratos7/orgs","repos_url":"https://api.github.com/users/kratos7/repos","events_url":"https://api.github.com/users/kratos7/events{/privacy}","received_events_url":"https://api.github.com/users/kratos7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kratos7/hydra","description":"A Scale Testing infra using Mesos and marathon","fork":true,"url":"https://api.github.com/repos/kratos7/hydra","forks_url":"https://api.github.com/repos/kratos7/hydra/forks","keys_url":"https://api.github.com/repos/kratos7/hydra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kratos7/hydra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kratos7/hydra/teams","hooks_url":"https://api.github.com/repos/kratos7/hydra/hooks","issue_events_url":"https://api.github.com/repos/kratos7/hydra/issues/events{/number}","events_url":"https://api.github.com/repos/kratos7/hydra/events","assignees_url":"https://api.github.com/repos/kratos7/hydra/assignees{/user}","branches_url":"https://api.github.com/repos/kratos7/hydra/branches{/branch}","tags_url":"https://api.github.com/repos/kratos7/hydra/tags","blobs_url":"https://api.github.com/repos/kratos7/hydra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kratos7/hydra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kratos7/hydra/git/refs{/sha}","trees_url":"https://api.github.com/repos/kratos7/hydra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kratos7/hydra/statuses/{sha}","languages_url":"https://api.github.com/repos/kratos7/hydra/languages","stargazers_url":"https://api.github.com/repos/kratos7/hydra/stargazers","contributors_url":"https://api.github.com/repos/kratos7/hydra/contributors","subscribers_url":"https://api.github.com/repos/kratos7/hydra/subscribers","subscription_url":"https://api.github.com/repos/kratos7/hydra/subscription","commits_url":"https://api.github.com/repos/kratos7/hydra/commits{/sha}","git_commits_url":"https://api.github.com/repos/kratos7/hydra/git/commits{/sha}","comments_url":"https://api.github.com/repos/kratos7/hydra/comments{/number}","issue_comment_url":"https://api.github.com/repos/kratos7/hydra/issues/comments{/number}","contents_url":"https://api.github.com/repos/kratos7/hydra/contents/{+path}","compare_url":"https://api.github.com/repos/kratos7/hydra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kratos7/hydra/merges","archive_url":"https://api.github.com/repos/kratos7/hydra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kratos7/hydra/downloads","issues_url":"https://api.github.com/repos/kratos7/hydra/issues{/number}","pulls_url":"https://api.github.com/repos/kratos7/hydra/pulls{/number}","milestones_url":"https://api.github.com/repos/kratos7/hydra/milestones{/number}","notifications_url":"https://api.github.com/repos/kratos7/hydra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kratos7/hydra/labels{/name}","releases_url":"https://api.github.com/repos/kratos7/hydra/releases{/id}","deployments_url":"https://api.github.com/repos/kratos7/hydra/deployments","created_at":"2016-03-05T20:01:17Z","updated_at":"2016-03-05T20:01:19Z","pushed_at":"2016-03-09T04:54:15Z","git_url":"git://github.com/kratos7/hydra.git","ssh_url":"git@github.com:kratos7/hydra.git","clone_url":"https://github.com/kratos7/hydra.git","svn_url":"https://github.com/kratos7/hydra","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"sushilks:master","ref":"master","sha":"cfe4a23e32545bbc15ffd7b9d3103b1f7e4d275f","user":{"login":"sushilks","id":5265751,"avatar_url":"https://avatars.githubusercontent.com/u/5265751?v=3","gravatar_id":"","url":"https://api.github.com/users/sushilks","html_url":"https://github.com/sushilks","followers_url":"https://api.github.com/users/sushilks/followers","following_url":"https://api.github.com/users/sushilks/following{/other_user}","gists_url":"https://api.github.com/users/sushilks/gists{/gist_id}","starred_url":"https://api.github.com/users/sushilks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushilks/subscriptions","organizations_url":"https://api.github.com/users/sushilks/orgs","repos_url":"https://api.github.com/users/sushilks/repos","events_url":"https://api.github.com/users/sushilks/events{/privacy}","received_events_url":"https://api.github.com/users/sushilks/received_events","type":"User","site_admin":false},"repo":{"id":52956862,"name":"hydra","full_name":"sushilks/hydra","owner":{"login":"sushilks","id":5265751,"avatar_url":"https://avatars.githubusercontent.com/u/5265751?v=3","gravatar_id":"","url":"https://api.github.com/users/sushilks","html_url":"https://github.com/sushilks","followers_url":"https://api.github.com/users/sushilks/followers","following_url":"https://api.github.com/users/sushilks/following{/other_user}","gists_url":"https://api.github.com/users/sushilks/gists{/gist_id}","starred_url":"https://api.github.com/users/sushilks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushilks/subscriptions","organizations_url":"https://api.github.com/users/sushilks/orgs","repos_url":"https://api.github.com/users/sushilks/repos","events_url":"https://api.github.com/users/sushilks/events{/privacy}","received_events_url":"https://api.github.com/users/sushilks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sushilks/hydra","description":"A Scale Testing infra using Mesos and marathon","fork":false,"url":"https://api.github.com/repos/sushilks/hydra","forks_url":"https://api.github.com/repos/sushilks/hydra/forks","keys_url":"https://api.github.com/repos/sushilks/hydra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sushilks/hydra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sushilks/hydra/teams","hooks_url":"https://api.github.com/repos/sushilks/hydra/hooks","issue_events_url":"https://api.github.com/repos/sushilks/hydra/issues/events{/number}","events_url":"https://api.github.com/repos/sushilks/hydra/events","assignees_url":"https://api.github.com/repos/sushilks/hydra/assignees{/user}","branches_url":"https://api.github.com/repos/sushilks/hydra/branches{/branch}","tags_url":"https://api.github.com/repos/sushilks/hydra/tags","blobs_url":"https://api.github.com/repos/sushilks/hydra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sushilks/hydra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sushilks/hydra/git/refs{/sha}","trees_url":"https://api.github.com/repos/sushilks/hydra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sushilks/hydra/statuses/{sha}","languages_url":"https://api.github.com/repos/sushilks/hydra/languages","stargazers_url":"https://api.github.com/repos/sushilks/hydra/stargazers","contributors_url":"https://api.github.com/repos/sushilks/hydra/contributors","subscribers_url":"https://api.github.com/repos/sushilks/hydra/subscribers","subscription_url":"https://api.github.com/repos/sushilks/hydra/subscription","commits_url":"https://api.github.com/repos/sushilks/hydra/commits{/sha}","git_commits_url":"https://api.github.com/repos/sushilks/hydra/git/commits{/sha}","comments_url":"https://api.github.com/repos/sushilks/hydra/comments{/number}","issue_comment_url":"https://api.github.com/repos/sushilks/hydra/issues/comments{/number}","contents_url":"https://api.github.com/repos/sushilks/hydra/contents/{+path}","compare_url":"https://api.github.com/repos/sushilks/hydra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sushilks/hydra/merges","archive_url":"https://api.github.com/repos/sushilks/hydra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sushilks/hydra/downloads","issues_url":"https://api.github.com/repos/sushilks/hydra/issues{/number}","pulls_url":"https://api.github.com/repos/sushilks/hydra/pulls{/number}","milestones_url":"https://api.github.com/repos/sushilks/hydra/milestones{/number}","notifications_url":"https://api.github.com/repos/sushilks/hydra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sushilks/hydra/labels{/name}","releases_url":"https://api.github.com/repos/sushilks/hydra/releases{/id}","deployments_url":"https://api.github.com/repos/sushilks/hydra/deployments","created_at":"2016-03-02T11:12:25Z","updated_at":"2016-03-04T23:43:15Z","pushed_at":"2016-03-09T04:54:16Z","git_url":"git://github.com/sushilks/hydra.git","ssh_url":"git@github.com:sushilks/hydra.git","clone_url":"https://github.com/sushilks/hydra.git","svn_url":"https://github.com/sushilks/hydra","homepage":null,"size":63,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sushilks/hydra/pulls/10"},"html":{"href":"https://github.com/sushilks/hydra/pull/10"},"issue":{"href":"https://api.github.com/repos/sushilks/hydra/issues/10"},"comments":{"href":"https://api.github.com/repos/sushilks/hydra/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/sushilks/hydra/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/sushilks/hydra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sushilks/hydra/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/sushilks/hydra/statuses/24cb13e9c75906ee6d46c2e5d0a69ebe77859cea"}}}}