Skip to content

Commit 95caaea

Browse files
authored
Engineering - Add timeout and retries to the task to download Electron and Playwright (microsoft#160490)
Add timeout and retries to the task to download Electron and Playwright
1 parent 99ffff6 commit 95caaea

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

build/azure-pipelines/darwin/product-build-darwin-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ steps:
1313
set -e
1414
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
1515
yarn npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install"
16+
timeoutInMinutes: 5
17+
retryCountOnTaskFailure: 3
1618
displayName: Download Electron and Playwright
1719
1820
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:

build/azure-pipelines/linux/product-build-linux-client-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ steps:
1313
set -e
1414
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
1515
yarn npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install"
16+
timeoutInMinutes: 5
17+
retryCountOnTaskFailure: 3
1618
displayName: Download Electron and Playwright
1719
1820
- ${{ if eq(parameters.VSCODE_QUALITY, 'oss') }}:

build/azure-pipelines/win32/product-build-win32-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ steps:
1414
$ErrorActionPreference = "Stop"
1515
$env:VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)"
1616
exec { yarn npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install" }
17+
timeoutInMinutes: 5
18+
retryCountOnTaskFailure: 3
1719
displayName: Download Electron and Playwright
1820
1921
- ${{ if eq(parameters.VSCODE_RUN_UNIT_TESTS, true) }}:

0 commit comments

Comments
 (0)