Use different hosts in pool acquiry timeout test.
This commit is contained in:
parent
275443c4a1
commit
5b2f3ed656
@ -31,6 +31,6 @@ async def test_pool_timeout(server):
|
||||
response = await http.request("GET", "http://127.0.0.1:8000/", stream=True)
|
||||
|
||||
with pytest.raises(httpcore.PoolTimeout):
|
||||
await http.request("GET", "http://127.0.0.1:8000/")
|
||||
await http.request("GET", "http://localhost:8000/")
|
||||
|
||||
await response.read()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user