File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414class MacNetAspire (core .app_scenario .Scenario ):
1515
1616 module = __module__ .split ('.' )[- 1 ]
17- prep_version = "6 "
17+ prep_version = "7 "
1818 resources = module + "_resources"
1919
2020
Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ log "-- Setting Python version"
157157pyenv global 3.12.10
158158check_status " Setting Python global version"
159159
160+ # Increase Playwright browser download timeout (default is too short for slow CDN)
161+ export PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=300000
162+ log " -- Set PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=300000 (5 minutes)"
163+
160164# Verify Python version
161165PYTHON_VERSION=$( python --version 2>&1 | awk ' {print $2}' )
162166if [ " $PYTHON_VERSION " != " 3.12.10" ]; then
Original file line number Diff line number Diff line change @@ -125,6 +125,10 @@ if [ ! -f "build.sh" ]; then
125125fi
126126log " ✓ build.sh found"
127127
128+ # Increase Playwright browser download timeout (default is too short for slow CDN)
129+ export PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=300000
130+ log " -- Set PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=300000 (5 minutes)"
131+
128132# ============================================================================
129133# Clean phase (not timed)
130134# ============================================================================
Original file line number Diff line number Diff line change 1414class NetAspire (core .app_scenario .Scenario ):
1515
1616 module = __module__ .split ('.' )[- 1 ]
17- prep_version = "6 "
17+ prep_version = "7 "
1818 resources = module + "_resources"
1919
2020
Original file line number Diff line number Diff line change @@ -207,6 +207,12 @@ if ($isARM64) {
207207$env: DOTNET_INSTALL_DIR = " C:\Program Files\dotnet"
208208" -- Set DOTNET_INSTALL_DIR=$ ( $env: DOTNET_INSTALL_DIR ) to use system SDK" | log
209209
210+ # -------------------------------------------------------------------
211+ # Increase Playwright browser download timeout (default is too short for slow CDN)
212+ # -------------------------------------------------------------------
213+ $env: PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT = " 300000"
214+ " -- Set PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=300000 (5 minutes)" | log
215+
210216# -------------------------------------------------------------------
211217# Initial restore (so run iterations only need build)
212218# -------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -130,6 +130,10 @@ $env:DOTNET_INSTALL_DIR = "C:\Program Files\dotnet"
130130" -- All installed SDKs:" | log
131131dotnet -- list- sdks 2>&1 | ForEach-Object { " $_ " | log }
132132
133+ # Increase Playwright browser download timeout (default is too short for slow CDN)
134+ $env: PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT = " 300000"
135+ " -- Set PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=300000 (5 minutes)" | log
136+
133137# ============================================================================
134138# Clean phase (not timed)
135139# ============================================================================
You can’t perform that action at this time.
0 commit comments