Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/docker/asgi_framework_compat/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def wait_for_service(url: str, timeout: int = 180) -> bool:
response = httpx.get(f"{url}/health", timeout=5.0)
if response.status_code == 200:
return True
except (httpx.ConnectError, httpx.TimeoutException):
except httpx.RequestError:
pass
time.sleep(1)
return False
Expand All @@ -105,7 +105,7 @@ def docker_services(docker_compose_file, request):
if response.status_code != 200:
all_healthy = False
break
except (httpx.ConnectError, httpx.TimeoutException):
except httpx.RequestError:
all_healthy = False
break

Expand Down