test: stabilize transport admission deadline
This commit is contained in:
1 parent
5c370cbe33
commit
59bc13c5b0
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user