From 95caaea452e529a3bb543e30c4a4370e09bbc2ae Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Fri, 9 Sep 2022 10:47:29 +0200 Subject: [PATCH] Engineering - Add timeout and retries to the task to download Electron and Playwright (#160490) Add timeout and retries to the task to download Electron and Playwright --- build/azure-pipelines/darwin/product-build-darwin-test.yml | 2 ++ build/azure-pipelines/linux/product-build-linux-client-test.yml | 2 ++ build/azure-pipelines/win32/product-build-win32-test.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/build/azure-pipelines/darwin/product-build-darwin-test.yml b/build/azure-pipelines/darwin/product-build-darwin-test.yml index 1094b41ca21..ade66dd5276 100644 --- a/build/azure-pipelines/darwin/product-build-darwin-test.yml +++ b/build/azure-pipelines/darwin/product-build-darwin-test.yml @@ -13,6 +13,8 @@ steps: set -e VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \ yarn npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install" + timeoutInMinutes: 5 + retryCountOnTaskFailure: 3 displayName: Download Electron and Playwright - ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}: diff --git a/build/azure-pipelines/linux/product-build-linux-client-test.yml b/build/azure-pipelines/linux/product-build-linux-client-test.yml index 31d477e93aa..c428db47cdf 100644 --- a/build/azure-pipelines/linux/product-build-linux-client-test.yml +++ b/build/azure-pipelines/linux/product-build-linux-client-test.yml @@ -13,6 +13,8 @@ steps: set -e VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \ yarn npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install" + timeoutInMinutes: 5 + retryCountOnTaskFailure: 3 displayName: Download Electron and Playwright - ${{ if eq(parameters.VSCODE_QUALITY, 'oss') }}: diff --git a/build/azure-pipelines/win32/product-build-win32-test.yml b/build/azure-pipelines/win32/product-build-win32-test.yml index 23c2d43a1cc..d2e6307b932 100644 --- a/build/azure-pipelines/win32/product-build-win32-test.yml +++ b/build/azure-pipelines/win32/product-build-win32-test.yml @@ -14,6 +14,8 @@ steps: $ErrorActionPreference = "Stop" $env:VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" exec { yarn npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install" } + timeoutInMinutes: 5 + retryCountOnTaskFailure: 3 displayName: Download Electron and Playwright - ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}: