mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
ci: give each test job 40 minutes
Seven of the last 80 runs were cancelled at the 25-minute job limit while the tests were still running under host load (the default pass alone takes 11-16 minutes on a busy tp04). Each job now carries one pass, and 40 minutes leaves room for a loaded runner without letting a hung run sit for long. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8d79589d81
commit
8b95fb320a
1 file changed
+2
-2
+2
-2
@@ -22,7 +22,7 @@ jobs:
|
||||
# capped at 8 cores / 8 GiB). Fork PRs never reach it: they stay on a
|
||||
# GitHub-hosted runner.
|
||||
runs-on: ${{ (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && 'tp04-seaweed-block' || 'ubuntu-latest' }}
|
||||
timeout-minutes: 25
|
||||
timeout-minutes: 40
|
||||
env:
|
||||
# Pure-Go build: no package in the default build needs cgo, and the
|
||||
# hosted runner should not depend on a C toolchain being present.
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
# runners (two instances, so both passes run in parallel); fork PRs stay on
|
||||
# a GitHub-hosted runner, whose shared queue can wait for hours.
|
||||
runs-on: ${{ (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && 'tp04-seaweed-block' || 'ubuntu-latest' }}
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 40
|
||||
env:
|
||||
CGO_ENABLED: "0"
|
||||
steps:
|
||||
|
||||
Reference in new issue
Block a user