Files
bircni 2fb208e88e
Nightly release / goreleaser (push) Failing after 2m1s
Nightly release / release-image (push) Failing after 16m39s
test: run transport timeout tests on a fake clock (#110)
Fixes https://gitea.com/gitea/cli/issues/108

Several transport timeout tests used 20-300ms real-time timeouts, which a busy machine such as a parallel `makepkg` check can exceed just connecting to the local test server. They now run in a `testing/synctest` bubble over in-memory connections, so a timeout runs out only once every goroutine is idle, whatever the load of the machine.

Reviewed-on: https://gitea.com/gitea/cli/pulls/110
Reviewed-by: silverwind <[email protected]>
2026-11-11 17:35:13 +00:00
..