{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/61967446","id":61967446,"diff_hunk":"@@ -325,16 +325,17 @@ public static List<string> ParseDetailErrorMessage(string statusMessage)\n             params string[] status)\n         {\n             DeploymentExtended deployment;\n+            Delay stepedDelay = new Delay(firstDelay: 0);\n \n             do\n             {\n+                TestMockSupport.Delay(stepedDelay.GetNextDelay());","path":"src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs","position":8,"original_position":8,"commit_id":"a11d8e4826038eeff63121f304364527637a41ad","original_commit_id":"a11d8e4826038eeff63121f304364527637a41ad","user":{"login":"vivsriaus","id":2857609,"avatar_url":"https://avatars.githubusercontent.com/u/2857609?v=3","gravatar_id":"","url":"https://api.github.com/users/vivsriaus","html_url":"https://github.com/vivsriaus","followers_url":"https://api.github.com/users/vivsriaus/followers","following_url":"https://api.github.com/users/vivsriaus/following{/other_user}","gists_url":"https://api.github.com/users/vivsriaus/gists{/gist_id}","starred_url":"https://api.github.com/users/vivsriaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivsriaus/subscriptions","organizations_url":"https://api.github.com/users/vivsriaus/orgs","repos_url":"https://api.github.com/users/vivsriaus/repos","events_url":"https://api.github.com/users/vivsriaus/events{/privacy}","received_events_url":"https://api.github.com/users/vivsriaus/received_events","type":"User","site_admin":false},"body":"Why can't we just do:\r\nint counter = 0;\r\ndo\r\n{\r\n  counter =  counter + 5000 > 60000 ? 60000 : counter + 5000;\r\n  TestMockSupport.Delay(counter);\r\n...\r\n}","created_at":"2016-05-03T22:28:41Z","updated_at":"2016-05-03T22:28:41Z","html_url":"https://github.com/Azure/azure-powershell/pull/2205#discussion_r61967446","pull_request_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/2205","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/61967446"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/2205#discussion_r61967446"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/2205"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/2205","id":68779548,"html_url":"https://github.com/Azure/azure-powershell/pull/2205","diff_url":"https://github.com/Azure/azure-powershell/pull/2205.diff","patch_url":"https://github.com/Azure/azure-powershell/pull/2205.patch","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/2205","number":2205,"state":"open","locked":false,"title":"Use backoff delay for New-AzureRmResourceGroupDeployment query calls","user":{"login":"TianoMS","id":8542209,"avatar_url":"https://avatars.githubusercontent.com/u/8542209?v=3","gravatar_id":"","url":"https://api.github.com/users/TianoMS","html_url":"https://github.com/TianoMS","followers_url":"https://api.github.com/users/TianoMS/followers","following_url":"https://api.github.com/users/TianoMS/following{/other_user}","gists_url":"https://api.github.com/users/TianoMS/gists{/gist_id}","starred_url":"https://api.github.com/users/TianoMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TianoMS/subscriptions","organizations_url":"https://api.github.com/users/TianoMS/orgs","repos_url":"https://api.github.com/users/TianoMS/repos","events_url":"https://api.github.com/users/TianoMS/events{/privacy}","received_events_url":"https://api.github.com/users/TianoMS/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-03T21:38:07Z","updated_at":"2016-05-03T22:28:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69ccf18a742095ace0841dc624517dda11221b16","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/2205/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/2205/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/2205/comments","statuses_url":"https://api.github.com/repos/Azure/azure-powershell/statuses/a11d8e4826038eeff63121f304364527637a41ad","head":{"label":"TianoMS:tiano-d2","ref":"tiano-d2","sha":"a11d8e4826038eeff63121f304364527637a41ad","user":{"login":"TianoMS","id":8542209,"avatar_url":"https://avatars.githubusercontent.com/u/8542209?v=3","gravatar_id":"","url":"https://api.github.com/users/TianoMS","html_url":"https://github.com/TianoMS","followers_url":"https://api.github.com/users/TianoMS/followers","following_url":"https://api.github.com/users/TianoMS/following{/other_user}","gists_url":"https://api.github.com/users/TianoMS/gists{/gist_id}","starred_url":"https://api.github.com/users/TianoMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TianoMS/subscriptions","organizations_url":"https://api.github.com/users/TianoMS/orgs","repos_url":"https://api.github.com/users/TianoMS/repos","events_url":"https://api.github.com/users/TianoMS/events{/privacy}","received_events_url":"https://api.github.com/users/TianoMS/received_events","type":"User","site_admin":false},"repo":{"id":56752907,"name":"azure-powershell","full_name":"TianoMS/azure-powershell","owner":{"login":"TianoMS","id":8542209,"avatar_url":"https://avatars.githubusercontent.com/u/8542209?v=3","gravatar_id":"","url":"https://api.github.com/users/TianoMS","html_url":"https://github.com/TianoMS","followers_url":"https://api.github.com/users/TianoMS/followers","following_url":"https://api.github.com/users/TianoMS/following{/other_user}","gists_url":"https://api.github.com/users/TianoMS/gists{/gist_id}","starred_url":"https://api.github.com/users/TianoMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TianoMS/subscriptions","organizations_url":"https://api.github.com/users/TianoMS/orgs","repos_url":"https://api.github.com/users/TianoMS/repos","events_url":"https://api.github.com/users/TianoMS/events{/privacy}","received_events_url":"https://api.github.com/users/TianoMS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TianoMS/azure-powershell","description":"Microsoft Azure PowerShell","fork":true,"url":"https://api.github.com/repos/TianoMS/azure-powershell","forks_url":"https://api.github.com/repos/TianoMS/azure-powershell/forks","keys_url":"https://api.github.com/repos/TianoMS/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TianoMS/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TianoMS/azure-powershell/teams","hooks_url":"https://api.github.com/repos/TianoMS/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/TianoMS/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/TianoMS/azure-powershell/events","assignees_url":"https://api.github.com/repos/TianoMS/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/TianoMS/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/TianoMS/azure-powershell/tags","blobs_url":"https://api.github.com/repos/TianoMS/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TianoMS/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TianoMS/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/TianoMS/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TianoMS/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/TianoMS/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/TianoMS/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/TianoMS/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/TianoMS/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/TianoMS/azure-powershell/subscription","commits_url":"https://api.github.com/repos/TianoMS/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/TianoMS/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/TianoMS/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/TianoMS/azure-powershell/issues/comments{/number}","contents_url":"https://api.github.com/repos/TianoMS/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/TianoMS/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TianoMS/azure-powershell/merges","archive_url":"https://api.github.com/repos/TianoMS/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TianoMS/azure-powershell/downloads","issues_url":"https://api.github.com/repos/TianoMS/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/TianoMS/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/TianoMS/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/TianoMS/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TianoMS/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/TianoMS/azure-powershell/releases{/id}","deployments_url":"https://api.github.com/repos/TianoMS/azure-powershell/deployments","created_at":"2016-04-21T07:42:01Z","updated_at":"2016-04-21T07:42:27Z","pushed_at":"2016-05-03T21:36:47Z","git_url":"git://github.com/TianoMS/azure-powershell.git","ssh_url":"git@github.com:TianoMS/azure-powershell.git","clone_url":"https://github.com/TianoMS/azure-powershell.git","svn_url":"https://github.com/TianoMS/azure-powershell","homepage":null,"size":194790,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"dev"}},"base":{"label":"Azure:dev","ref":"dev","sha":"24eebc9e98f15df75fc848bbd9b3fa9d7cac07a7","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":23891194,"name":"azure-powershell","full_name":"Azure/azure-powershell","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-powershell","description":"Microsoft Azure PowerShell","fork":false,"url":"https://api.github.com/repos/Azure/azure-powershell","forks_url":"https://api.github.com/repos/Azure/azure-powershell/forks","keys_url":"https://api.github.com/repos/Azure/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-powershell/teams","hooks_url":"https://api.github.com/repos/Azure/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-powershell/events","assignees_url":"https://api.github.com/repos/Azure/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-powershell/tags","blobs_url":"https://api.github.com/repos/Azure/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-powershell/subscription","commits_url":"https://api.github.com/repos/Azure/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-powershell/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-powershell/merges","archive_url":"https://api.github.com/repos/Azure/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-powershell/downloads","issues_url":"https://api.github.com/repos/Azure/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-powershell/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-powershell/deployments","created_at":"2014-09-10T20:35:18Z","updated_at":"2016-05-02T16:42:21Z","pushed_at":"2016-05-03T22:02:20Z","git_url":"git://github.com/Azure/azure-powershell.git","ssh_url":"git@github.com:Azure/azure-powershell.git","clone_url":"https://github.com/Azure/azure-powershell.git","svn_url":"https://github.com/Azure/azure-powershell","homepage":null,"size":208878,"stargazers_count":440,"watchers_count":440,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":415,"mirror_url":null,"open_issues_count":376,"forks":415,"open_issues":376,"watchers":440,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/2205"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/2205"},"issue":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/2205"},"comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/2205/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/2205/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/2205/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-powershell/statuses/a11d8e4826038eeff63121f304364527637a41ad"}}}}