| Test |
Duration |
Result |
| a Gitea failure does not fail the build |
0.222s |
passed |
| a build cancelled while still queued records neither runningSince nor a duration |
0.100s |
passed |
| a build definition overrides the branch's build command and records under its own pool |
0.116s |
passed |
| a build still queued at shutdown stays PENDING for the startup recovery |
0.113s |
passed |
| a build whose definition was removed from the config falls back to the branch's settings |
0.052s |
passed |
| a failing build command records FAILED with a duration |
0.172s |
passed |
| a failing clean command fails the build without running the build command |
0.095s |
passed |
| a second build of the same branch waits even when a slot is free |
2.081s |
passed |
| a successful build transitions pending, running, success and captures all logs |
0.247s |
passed |
| build commands run in the workspace prepared for the branch |
0.098s |
passed |
| cancel kills a long auxiliary preparation phase instead of waiting for it |
0.113s |
passed |
| cancel kills a sleeping process tree and records CANCELLED |
0.153s |
passed |
| cancel only affects the addressed build, other branches keep running |
0.184s |
passed |
| cancel with an unknown artifact key returns false |
0.002s |
passed |
| shutdown kills an executing build and records INTERRUPTED, not FAILED |
0.176s |
passed |
| shutdown without any build in flight is a no-op |
0.086s |
passed |
| startBuild returns the active build of the same branch and commit instead of stacking a duplicate |
0.058s |
passed |
| the duration measures build time only, not the queue wait |
2.307s |
passed |
| the live log grows while the build is still running |
3.107s |
passed |
| the repository reports RUNNING while the build sleeps |
0.099s |
passed |
| with maxConcurrent 1 a second branch stays PENDING until the first finished |
1.109s |
passed |
| with maxConcurrent 2 two branches build at the same time |
0.175s |
passed |