test: stretch timed budgets on the shared CI runner
CI / Build and test (pull_request) Successful in 8m3s
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 14s
CI / PostgreSQL 16 integration (pull_request) Successful in 5m56s
CI / PostgreSQL 17 integration (pull_request) Successful in 6m5s
CI / Docker image (pull_request) Successful in 1m18s
CI / Build and test (pull_request) Successful in 8m3s
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 14s
CI / PostgreSQL 16 integration (pull_request) Successful in 5m56s
CI / PostgreSQL 17 integration (pull_request) Successful in 6m5s
CI / Docker image (pull_request) Successful in 1m18s
The owner's runner shares its CPU and disks with Gitea and the server's other containers, so the 100k-frame bulk insert took 10-19 s against 15 s from one run to the next. CHRONOS_TEST_TIME_FACTOR (default 1) stretches the timed tests' budgets; CI and release set 3, the weekly performance gates keep them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f4800fd86d
commit
8566072c9a
12 files changed
+55
-8
No files matched your search
@@ -16,6 +16,9 @@ env:
|
||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1"
|
||||
TOOLS: src/Chronos.Tools/bin/Release/net10.0/Chronos.Tools.dll
|
||||
BUILD_CPUS: "4"
|
||||
# The runner shares its CPU and disks with the server's other services: timed tests get three times their budget
|
||||
# (Chronos.Testing TestTiming); the performance gates of perf.yml keep theirs.
|
||||
CHRONOS_TEST_TIME_FACTOR: "3"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -22,6 +22,8 @@ env:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: "1"
|
||||
TOOLS: src/Chronos.Tools/bin/Release/net10.0/Chronos.Tools.dll
|
||||
BUILD_CPUS: "4"
|
||||
# Timed tests get three times their budget on the shared runner (Chronos.Testing TestTiming, as in ci.yml).
|
||||
CHRONOS_TEST_TIME_FACTOR: "3"
|
||||
TAG: ${{ github.event.inputs.tag || github.ref_name }}
|
||||
# Where people and programs reach Gitea (the runner itself uses github.server_url). Variable PUBLIC_URL overrides it.
|
||||
PUBLIC_URL: ${{ vars.PUBLIC_URL || 'https://gitea.encke-hake.ts.net' }}
|
||||
|
||||
Reference in new issue
Block a user