test(server): scale the job waits by the CI time factor
CI / Build and test (pull_request) Successful in 5m35s
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 4s
CI / PostgreSQL 16 integration (pull_request) Successful in 4m13s
CI / PostgreSQL 17 integration (pull_request) Successful in 4m8s
CI / Docker image (pull_request) Successful in 1m29s

RenderJobsThatCannotBeReadNeverStopTheEngine timed out on the shared runner
(PostgreSQL 17) while the upload's background jobs ran first: the 15 s wait was
the one job wait not scaled by CHRONOS_TEST_TIME_FACTOR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-10-27 00:41:45 +01:00
1 parent 6ec91dcf33
commit 92dba8665a
3 files changed
+3 -3

No files matched your search

@@ -134,7 +134,7 @@ internal sealed class SyncClient : IAsyncDisposable
public async Task<Job> WaitAsync(Guid jobId, JobState state = JobState.Done)
{
var until = DateTime.UtcNow.AddSeconds(60);
var until = DateTime.UtcNow.AddSeconds(TestTiming.Budget(60));
while (true)
{
var job = await Db.Jobs.GetAsync(jobId, Ct);