1515 test-mac :
1616 name : Test mac/run.sh on macOS
1717 runs-on : macos-latest
18- timeout-minutes : 30
18+ timeout-minutes : 60
1919 environment : BrowserStack
2020 steps :
2121 - name : Checkout code
@@ -117,17 +117,17 @@ jobs:
117117 bash mac/run.sh --silent "$test_type" "$tech_stack" >> "/tmp/run_test_${test_type}_${tech_stack}.log" 2>&1 &
118118 job_pid=$!
119119
120- # Wait with 60 second timeout using sleep loop (macOS compatible)
120+ # Wait with 600 second timeout using sleep loop (macOS compatible)
121121 count=0
122- max_wait=60
122+ max_wait=600
123123 while kill -0 "$job_pid" 2>/dev/null && [ $count -lt $max_wait ]; do
124124 sleep 1
125125 count=$((count + 1))
126126 done
127127
128128 # Check if process is still running after timeout
129129 if kill -0 "$job_pid" 2>/dev/null; then
130- echo "⚠️ mac/run.sh --silent $test_type $tech_stack timed out after 60 seconds"
130+ echo "⚠️ mac/run.sh --silent $test_type $tech_stack timed out after 600 seconds"
131131 kill -9 "$job_pid" 2>/dev/null || true
132132 exit_code=124
133133 else
@@ -247,9 +247,9 @@ jobs:
247247 & $path --silent $testType $techStack 2>&1 | Tee-Object -FilePath $logPath -Append
248248 } -ArgumentList ".\win\run.ps1", $testType, $techStack, $logPath
249249
250- # Wait for job with 60 second timeout
251- $timeout = New-TimeSpan -Seconds 60
252- $completed = Wait-Job -Job $job -Timeout 60
250+ # Wait for job with 600 second timeout
251+ $timeout = New-TimeSpan -Seconds 600
252+ $completed = Wait-Job -Job $job -Timeout 600
253253
254254 if ($completed) {
255255 $result = Receive-Job -Job $job
@@ -263,7 +263,7 @@ jobs:
263263 }
264264 }
265265 } else {
266- Write-Host "⚠️ .\win\run.ps1 --silent $testType $techStack timed out after 60 seconds"
266+ Write-Host "⚠️ .\win\run.ps1 --silent $testType $techStack timed out after 600 seconds"
267267 Stop-Job -Job $job
268268 if (Test-Path $logPath) {
269269 Write-Host "Log output (last 20 lines):"
@@ -279,7 +279,7 @@ jobs:
279279 test-linux :
280280 name : Test mac/run.sh on Linux
281281 runs-on : ubuntu-latest
282- timeout-minutes : 30
282+ timeout-minutes : 60
283283 environment : BrowserStack
284284 steps :
285285 - name : Checkout code
@@ -384,7 +384,7 @@ jobs:
384384 echo "================================"
385385
386386 # Run with timeout and capture exit code (using timeout command on Linux)
387- timeout 60 bash mac/run.sh --silent "$test_type" "$tech_stack" >> "/tmp/run_test_${test_type}_${tech_stack}.log" 2>&1 &
387+ timeout 600 bash mac/run.sh --silent "$test_type" "$tech_stack" >> "/tmp/run_test_${test_type}_${tech_stack}.log" 2>&1 &
388388 job_pid=$!
389389 wait "$job_pid" || exit_code=$?
390390
0 commit comments