diff --git a/recipe_modules/bot_update/api.py b/recipe_modules/bot_update/api.py index 505ac404d..8d77cd90d 100644 --- a/recipe_modules/bot_update/api.py +++ b/recipe_modules/bot_update/api.py @@ -40,7 +40,7 @@ class BotUpdateApi(recipe_api.RecipeApi): # These are to prevent git from hanging. If the git connection is slower # than 1KB/s for more than 5 minutes then git will kill the connection # and die with an error "error: RPC failed; curl 28 Operation too slow" - kwargs['env']['GIT_HTTP_LOW_SPEED_LIMIT '] = 1000 + kwargs['env']['GIT_HTTP_LOW_SPEED_LIMIT'] = 1000 kwargs['env']['GIT_HTTP_LOW_SPEED_TIME'] = 300 return self.m.python(name, bot_update_path, cmd, **kwargs) diff --git a/recipe_modules/bot_update/example.expected/basic.json b/recipe_modules/bot_update/example.expected/basic.json index 3f0931548..4ce9cb9e4 100644 --- a/recipe_modules/bot_update/example.expected/basic.json +++ b/recipe_modules/bot_update/example.expected/basic.json @@ -18,7 +18,7 @@ "src@abc" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/basic_output_manifest.json b/recipe_modules/bot_update/example.expected/basic_output_manifest.json index 2e7cf4388..c300d1032 100644 --- a/recipe_modules/bot_update/example.expected/basic_output_manifest.json +++ b/recipe_modules/bot_update/example.expected/basic_output_manifest.json @@ -19,7 +19,7 @@ "--output_manifest" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json b/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json index c40c5f476..11aedd1bf 100644 --- a/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +++ b/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json @@ -19,7 +19,7 @@ "--with_branch_heads" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/buildbot.json b/recipe_modules/bot_update/example.expected/buildbot.json index 3f0931548..4ce9cb9e4 100644 --- a/recipe_modules/bot_update/example.expected/buildbot.json +++ b/recipe_modules/bot_update/example.expected/buildbot.json @@ -18,7 +18,7 @@ "src@abc" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/clobber.json b/recipe_modules/bot_update/example.expected/clobber.json index 1581ed5f1..5c3d7e73f 100644 --- a/recipe_modules/bot_update/example.expected/clobber.json +++ b/recipe_modules/bot_update/example.expected/clobber.json @@ -19,7 +19,7 @@ "--clobber" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/gerrit_no_rebase_patch_ref.json b/recipe_modules/bot_update/example.expected/gerrit_no_rebase_patch_ref.json index 5631a02aa..6be8ab235 100644 --- a/recipe_modules/bot_update/example.expected/gerrit_no_rebase_patch_ref.json +++ b/recipe_modules/bot_update/example.expected/gerrit_no_rebase_patch_ref.json @@ -19,7 +19,7 @@ "--gerrit_no_rebase_patch_ref" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/gerrit_no_reset.json b/recipe_modules/bot_update/example.expected/gerrit_no_reset.json index 5ab7ddc4e..8de2bbd08 100644 --- a/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +++ b/recipe_modules/bot_update/example.expected/gerrit_no_reset.json @@ -19,7 +19,7 @@ "--gerrit_no_reset" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/no_shallow.json b/recipe_modules/bot_update/example.expected/no_shallow.json index 690d64f51..a0c8b77b9 100644 --- a/recipe_modules/bot_update/example.expected/no_shallow.json +++ b/recipe_modules/bot_update/example.expected/no_shallow.json @@ -19,7 +19,7 @@ "--no_shallow" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json b/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json index f667fa100..56c3356fc 100644 --- a/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +++ b/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json @@ -18,7 +18,7 @@ "src@revision" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/trychange.json b/recipe_modules/bot_update/example.expected/trychange.json index 670f67d2c..460cee7df 100644 --- a/recipe_modules/bot_update/example.expected/trychange.json +++ b/recipe_modules/bot_update/example.expected/trychange.json @@ -20,7 +20,7 @@ "+refs/change/1/2/333" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/trychange_oauth2_buildbot.json b/recipe_modules/bot_update/example.expected/trychange_oauth2_buildbot.json index 017abe669..e165a8bce 100644 --- a/recipe_modules/bot_update/example.expected/trychange_oauth2_buildbot.json +++ b/recipe_modules/bot_update/example.expected/trychange_oauth2_buildbot.json @@ -22,7 +22,7 @@ "src@HEAD" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json b/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json index ca67ce172..fbfa89f7b 100644 --- a/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json +++ b/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json @@ -20,7 +20,7 @@ "src@HEAD" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json b/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json index a3d89d17b..d1eff6084 100644 --- a/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json +++ b/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json @@ -20,7 +20,7 @@ "src@HEAD" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/tryjob.json b/recipe_modules/bot_update/example.expected/tryjob.json index d0b796240..6c252c5b5 100644 --- a/recipe_modules/bot_update/example.expected/tryjob.json +++ b/recipe_modules/bot_update/example.expected/tryjob.json @@ -24,7 +24,7 @@ "src@HEAD" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/tryjob_fail.json b/recipe_modules/bot_update/example.expected/tryjob_fail.json index 3cd8f88e7..e80f75f80 100644 --- a/recipe_modules/bot_update/example.expected/tryjob_fail.json +++ b/recipe_modules/bot_update/example.expected/tryjob_fail.json @@ -24,7 +24,7 @@ "src@HEAD" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json b/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json index b552f7dd4..6bd07829f 100644 --- a/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +++ b/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json @@ -24,7 +24,7 @@ "src@HEAD" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json b/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json index e0c1418df..6b43e0559 100644 --- a/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +++ b/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json @@ -24,7 +24,7 @@ "src@HEAD" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json b/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json index 7112a2b38..1a4ca6986 100644 --- a/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +++ b/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json @@ -24,7 +24,7 @@ "src/third_party/angle@HEAD" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json b/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json index 7112a2b38..1a4ca6986 100644 --- a/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json +++ b/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json @@ -24,7 +24,7 @@ "src/third_party/angle@HEAD" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/tryjob_v8.json b/recipe_modules/bot_update/example.expected/tryjob_v8.json index 654c1eae5..78b06fa46 100644 --- a/recipe_modules/bot_update/example.expected/tryjob_v8.json +++ b/recipe_modules/bot_update/example.expected/tryjob_v8.json @@ -26,7 +26,7 @@ "src/v8@abc" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" }, diff --git a/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json b/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json index 8eb316bd7..e981ae292 100644 --- a/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +++ b/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json @@ -26,7 +26,7 @@ "src/v8@HEAD" ], "env": { - "GIT_HTTP_LOW_SPEED_LIMIT ": "1000", + "GIT_HTTP_LOW_SPEED_LIMIT": "1000", "GIT_HTTP_LOW_SPEED_TIME": "300", "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" },