fix: CI e2e超时加到10分钟,job timeout 12分钟
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 9s
Test / e2e-test (push) Failing after 10m5s
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 9s
Test / e2e-test (push) Failing after 10m5s
31个spec全部通过但420秒跑不完32个,加到600秒。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,7 @@ jobs:
|
||||
e2e-test:
|
||||
runs-on: test
|
||||
needs: unit-test
|
||||
timeout-minutes: 8
|
||||
timeout-minutes: 12
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -64,7 +64,7 @@ jobs:
|
||||
|
||||
# Run all specs except demo-walkthrough (too slow for CI)
|
||||
cd frontend
|
||||
timeout 420 npx cypress run \
|
||||
timeout 600 npx cypress run \
|
||||
--spec "cypress/e2e/!(demo-walkthrough).cy.js" \
|
||||
--config "video=false,defaultCommandTimeout=5000,pageLoadTimeout=10000,requestTimeout=5000,responseTimeout=10000,baseUrl=http://localhost:$FE_PORT,experimentalMemoryManagement=true,numTestsKeptInMemory=0" \
|
||||
--env "ADMIN_TOKEN=$ADMIN_TOKEN"
|
||||
@@ -75,7 +75,7 @@ jobs:
|
||||
pkill -f "Cypress" 2>/dev/null || true
|
||||
rm -f "$DB_FILE"
|
||||
if [ $EXIT_CODE -eq 124 ]; then
|
||||
echo "ERROR: Cypress timed out after 7 minutes"
|
||||
echo "ERROR: Cypress timed out after 10 minutes"
|
||||
exit 1
|
||||
fi
|
||||
exit $EXIT_CODE
|
||||
|
||||
Reference in New Issue
Block a user