{"action":"created","comment":{"url":"https://api.github.com/repos/Yelp/paasta/pulls/comments/52791731","id":52791731,"diff_hunk":"@@ -93,6 +96,18 @@ def create_complete_app(context):\n         assert 'deployed' in return_tuple[1]\n \n \n+@when(u'we change the number of instances to {number}')\n+def change_number_of_context_instances(context, number):\n+    fake_service_config['instances'] = int(number)\n+\n+\n+@when(u'we run setup_marathon_job for {number}s')\n+def run_setup_marathon_job(context, number):\n+    for _ in xrange(int(number)):\n+        create_complete_app(context)","path":"paasta_itests/steps/setup_marathon_job_steps.py","position":53,"original_position":53,"commit_id":"1ae17258514a534224df0833175e820107caabfc","original_commit_id":"1ae17258514a534224df0833175e820107caabfc","user":{"login":"solarkennedy","id":370205,"avatar_url":"https://avatars.githubusercontent.com/u/370205?v=3","gravatar_id":"","url":"https://api.github.com/users/solarkennedy","html_url":"https://github.com/solarkennedy","followers_url":"https://api.github.com/users/solarkennedy/followers","following_url":"https://api.github.com/users/solarkennedy/following{/other_user}","gists_url":"https://api.github.com/users/solarkennedy/gists{/gist_id}","starred_url":"https://api.github.com/users/solarkennedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solarkennedy/subscriptions","organizations_url":"https://api.github.com/users/solarkennedy/orgs","repos_url":"https://api.github.com/users/solarkennedy/repos","events_url":"https://api.github.com/users/solarkennedy/events{/privacy}","received_events_url":"https://api.github.com/users/solarkennedy/received_events","type":"User","site_admin":false},"body":"This is weird to me. Is the amount of sleep time so important that it has to be a parameter? Can you instead use the \"wait for x tasks\" or something?","created_at":"2016-02-12T20:06:07Z","updated_at":"2016-02-12T20:06:07Z","html_url":"https://github.com/Yelp/paasta/pull/255#discussion_r52791731","pull_request_url":"https://api.github.com/repos/Yelp/paasta/pulls/255","_links":{"self":{"href":"https://api.github.com/repos/Yelp/paasta/pulls/comments/52791731"},"html":{"href":"https://github.com/Yelp/paasta/pull/255#discussion_r52791731"},"pull_request":{"href":"https://api.github.com/repos/Yelp/paasta/pulls/255"}}},"pull_request":{"url":"https://api.github.com/repos/Yelp/paasta/pulls/255","id":59118359,"html_url":"https://github.com/Yelp/paasta/pull/255","diff_url":"https://github.com/Yelp/paasta/pull/255.diff","patch_url":"https://github.com/Yelp/paasta/pull/255.patch","issue_url":"https://api.github.com/repos/Yelp/paasta/issues/255","number":255,"state":"open","locked":false,"title":"enabled scaling without bounces when editing soa_configs","user":{"login":"mjksmith","id":2931921,"avatar_url":"https://avatars.githubusercontent.com/u/2931921?v=3","gravatar_id":"","url":"https://api.github.com/users/mjksmith","html_url":"https://github.com/mjksmith","followers_url":"https://api.github.com/users/mjksmith/followers","following_url":"https://api.github.com/users/mjksmith/following{/other_user}","gists_url":"https://api.github.com/users/mjksmith/gists{/gist_id}","starred_url":"https://api.github.com/users/mjksmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjksmith/subscriptions","organizations_url":"https://api.github.com/users/mjksmith/orgs","repos_url":"https://api.github.com/users/mjksmith/repos","events_url":"https://api.github.com/users/mjksmith/events{/privacy}","received_events_url":"https://api.github.com/users/mjksmith/received_events","type":"User","site_admin":false},"body":"for some reason scaling up using `scale_app` doesn't work unless I set `force=True`. IDK enough to determine if this is bad","created_at":"2016-02-12T00:44:11Z","updated_at":"2016-02-12T20:06:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b2c85b8623e13e7ac9999805b1b2d3932042eb5","assignee":{"login":"mjksmith","id":2931921,"avatar_url":"https://avatars.githubusercontent.com/u/2931921?v=3","gravatar_id":"","url":"https://api.github.com/users/mjksmith","html_url":"https://github.com/mjksmith","followers_url":"https://api.github.com/users/mjksmith/followers","following_url":"https://api.github.com/users/mjksmith/following{/other_user}","gists_url":"https://api.github.com/users/mjksmith/gists{/gist_id}","starred_url":"https://api.github.com/users/mjksmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjksmith/subscriptions","organizations_url":"https://api.github.com/users/mjksmith/orgs","repos_url":"https://api.github.com/users/mjksmith/repos","events_url":"https://api.github.com/users/mjksmith/events{/privacy}","received_events_url":"https://api.github.com/users/mjksmith/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Yelp/paasta/pulls/255/commits","review_comments_url":"https://api.github.com/repos/Yelp/paasta/pulls/255/comments","review_comment_url":"https://api.github.com/repos/Yelp/paasta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yelp/paasta/issues/255/comments","statuses_url":"https://api.github.com/repos/Yelp/paasta/statuses/1ae17258514a534224df0833175e820107caabfc","head":{"label":"Yelp:autoscaling_step_1","ref":"autoscaling_step_1","sha":"1ae17258514a534224df0833175e820107caabfc","user":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?v=3","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"repo":{"id":44998824,"name":"paasta","full_name":"Yelp/paasta","owner":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?v=3","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yelp/paasta","description":"An open, distributed platform as a service","fork":false,"url":"https://api.github.com/repos/Yelp/paasta","forks_url":"https://api.github.com/repos/Yelp/paasta/forks","keys_url":"https://api.github.com/repos/Yelp/paasta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yelp/paasta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yelp/paasta/teams","hooks_url":"https://api.github.com/repos/Yelp/paasta/hooks","issue_events_url":"https://api.github.com/repos/Yelp/paasta/issues/events{/number}","events_url":"https://api.github.com/repos/Yelp/paasta/events","assignees_url":"https://api.github.com/repos/Yelp/paasta/assignees{/user}","branches_url":"https://api.github.com/repos/Yelp/paasta/branches{/branch}","tags_url":"https://api.github.com/repos/Yelp/paasta/tags","blobs_url":"https://api.github.com/repos/Yelp/paasta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yelp/paasta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yelp/paasta/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yelp/paasta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yelp/paasta/statuses/{sha}","languages_url":"https://api.github.com/repos/Yelp/paasta/languages","stargazers_url":"https://api.github.com/repos/Yelp/paasta/stargazers","contributors_url":"https://api.github.com/repos/Yelp/paasta/contributors","subscribers_url":"https://api.github.com/repos/Yelp/paasta/subscribers","subscription_url":"https://api.github.com/repos/Yelp/paasta/subscription","commits_url":"https://api.github.com/repos/Yelp/paasta/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yelp/paasta/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yelp/paasta/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yelp/paasta/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yelp/paasta/contents/{+path}","compare_url":"https://api.github.com/repos/Yelp/paasta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yelp/paasta/merges","archive_url":"https://api.github.com/repos/Yelp/paasta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yelp/paasta/downloads","issues_url":"https://api.github.com/repos/Yelp/paasta/issues{/number}","pulls_url":"https://api.github.com/repos/Yelp/paasta/pulls{/number}","milestones_url":"https://api.github.com/repos/Yelp/paasta/milestones{/number}","notifications_url":"https://api.github.com/repos/Yelp/paasta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yelp/paasta/labels{/name}","releases_url":"https://api.github.com/repos/Yelp/paasta/releases{/id}","deployments_url":"https://api.github.com/repos/Yelp/paasta/deployments","created_at":"2015-10-26T21:35:53Z","updated_at":"2016-02-12T17:43:45Z","pushed_at":"2016-02-12T18:37:59Z","git_url":"git://github.com/Yelp/paasta.git","ssh_url":"git@github.com:Yelp/paasta.git","clone_url":"https://github.com/Yelp/paasta.git","svn_url":"https://github.com/Yelp/paasta","homepage":"","size":6846,"stargazers_count":732,"watchers_count":732,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":25,"forks":49,"open_issues":25,"watchers":732,"default_branch":"master"}},"base":{"label":"Yelp:master","ref":"master","sha":"33a14ffd586c80876203af47a56f383932d754b4","user":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?v=3","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"repo":{"id":44998824,"name":"paasta","full_name":"Yelp/paasta","owner":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?v=3","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yelp/paasta","description":"An open, distributed platform as a service","fork":false,"url":"https://api.github.com/repos/Yelp/paasta","forks_url":"https://api.github.com/repos/Yelp/paasta/forks","keys_url":"https://api.github.com/repos/Yelp/paasta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yelp/paasta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yelp/paasta/teams","hooks_url":"https://api.github.com/repos/Yelp/paasta/hooks","issue_events_url":"https://api.github.com/repos/Yelp/paasta/issues/events{/number}","events_url":"https://api.github.com/repos/Yelp/paasta/events","assignees_url":"https://api.github.com/repos/Yelp/paasta/assignees{/user}","branches_url":"https://api.github.com/repos/Yelp/paasta/branches{/branch}","tags_url":"https://api.github.com/repos/Yelp/paasta/tags","blobs_url":"https://api.github.com/repos/Yelp/paasta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yelp/paasta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yelp/paasta/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yelp/paasta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yelp/paasta/statuses/{sha}","languages_url":"https://api.github.com/repos/Yelp/paasta/languages","stargazers_url":"https://api.github.com/repos/Yelp/paasta/stargazers","contributors_url":"https://api.github.com/repos/Yelp/paasta/contributors","subscribers_url":"https://api.github.com/repos/Yelp/paasta/subscribers","subscription_url":"https://api.github.com/repos/Yelp/paasta/subscription","commits_url":"https://api.github.com/repos/Yelp/paasta/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yelp/paasta/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yelp/paasta/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yelp/paasta/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yelp/paasta/contents/{+path}","compare_url":"https://api.github.com/repos/Yelp/paasta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yelp/paasta/merges","archive_url":"https://api.github.com/repos/Yelp/paasta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yelp/paasta/downloads","issues_url":"https://api.github.com/repos/Yelp/paasta/issues{/number}","pulls_url":"https://api.github.com/repos/Yelp/paasta/pulls{/number}","milestones_url":"https://api.github.com/repos/Yelp/paasta/milestones{/number}","notifications_url":"https://api.github.com/repos/Yelp/paasta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yelp/paasta/labels{/name}","releases_url":"https://api.github.com/repos/Yelp/paasta/releases{/id}","deployments_url":"https://api.github.com/repos/Yelp/paasta/deployments","created_at":"2015-10-26T21:35:53Z","updated_at":"2016-02-12T17:43:45Z","pushed_at":"2016-02-12T18:37:59Z","git_url":"git://github.com/Yelp/paasta.git","ssh_url":"git@github.com:Yelp/paasta.git","clone_url":"https://github.com/Yelp/paasta.git","svn_url":"https://github.com/Yelp/paasta","homepage":"","size":6846,"stargazers_count":732,"watchers_count":732,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":25,"forks":49,"open_issues":25,"watchers":732,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yelp/paasta/pulls/255"},"html":{"href":"https://github.com/Yelp/paasta/pull/255"},"issue":{"href":"https://api.github.com/repos/Yelp/paasta/issues/255"},"comments":{"href":"https://api.github.com/repos/Yelp/paasta/issues/255/comments"},"review_comments":{"href":"https://api.github.com/repos/Yelp/paasta/pulls/255/comments"},"review_comment":{"href":"https://api.github.com/repos/Yelp/paasta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yelp/paasta/pulls/255/commits"},"statuses":{"href":"https://api.github.com/repos/Yelp/paasta/statuses/1ae17258514a534224df0833175e820107caabfc"}}}}