Skip to content

Commit b5dce44

Browse files
author
Andrei Neagu
committed
fixed failing test
1 parent 44ea04c commit b5dce44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/dynamic-sidecar/tests/unit/test_api_rest_health.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ async def test_is_unhealthy_via_rabbitmq(test_client: TestClient) -> None:
3535
test_client.application.state.rabbitmq_client._healthy_state = False # noqa: SLF001
3636
response = await test_client.get("/health")
3737
assert response.status_code == status.HTTP_503_SERVICE_UNAVAILABLE, response
38-
assert response.json() == {"detail": "RabbitMQ client is in a bad state!"}
38+
assert response.json() == {"detail": "RabbitMQ cannot be reached!"}

0 commit comments

Comments
 (0)