From 17ae39d9d16da74708f0aa303c7a296edd99d13b Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Tue, 15 Sep 2020 14:57:20 -0700 Subject: [PATCH] Invoke-WebRequest started support retry in 2018; Kokoro VM is too old --- tools/internal_ci/helper_scripts/install_python38.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/internal_ci/helper_scripts/install_python38.ps1 b/tools/internal_ci/helper_scripts/install_python38.ps1 index 1c17dba3d66..26d8ed8bdc0 100644 --- a/tools/internal_ci/helper_scripts/install_python38.ps1 +++ b/tools/internal_ci/helper_scripts/install_python38.ps1 @@ -25,7 +25,7 @@ function Install-Python { # Downloads installer Write-Host "Downloading the Python installer: $PythonInstallerUrl => $PythonInstallerPath" - Invoke-WebRequest -Uri $PythonInstallerUrl -OutFile $PythonInstallerPath -MaximumRetryCount 3 + Invoke-WebRequest -Uri $PythonInstallerUrl -OutFile $PythonInstallerPath # Validates checksum $HashFromDownload = Get-FileHash -Path $PythonInstallerPath -Algorithm MD5