Use different hosts in pool acquiry timeout test.

This commit is contained in:
Tom Christie 2019-04-23 09:37:10 +01:00
parent 275443c4a1
commit 5b2f3ed656

View File

@ -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()