test: stabilize transport admission deadline
All checks were successful
CI / lint (pull_request) Successful in 2m3s
CI / build-release (pull_request) Successful in 6s
CI / browser-journey (pull_request) Successful in 1m0s
CI / release-candidate (pull_request) Has been skipped

This commit is contained in:
timmy 2026-08-15 19:01:24 +00:00
parent 5c370cbe33
commit 59bc13c5b0

View File

@ -234,7 +234,7 @@ async def test_streaming_reads_share_the_same_bounded_read_capacity():
try:
await asyncio.wait_for(saturated.wait(), timeout=0.2)
with pytest.raises(gitea_proxy.GiteaOverloadedError):
await asyncio.wait_for(gitea_proxy.fetch("third"), timeout=0.1)
await asyncio.wait_for(gitea_proxy.fetch("third"), timeout=1.0)
finally:
release.set()
await asyncio.gather(*streams)