We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44ea04c commit b5dce44Copy full SHA for b5dce44
services/dynamic-sidecar/tests/unit/test_api_rest_health.py
@@ -35,4 +35,4 @@ async def test_is_unhealthy_via_rabbitmq(test_client: TestClient) -> None:
35
test_client.application.state.rabbitmq_client._healthy_state = False # noqa: SLF001
36
response = await test_client.get("/health")
37
assert response.status_code == status.HTTP_503_SERVICE_UNAVAILABLE, response
38
- assert response.json() == {"detail": "RabbitMQ client is in a bad state!"}
+ assert response.json() == {"detail": "RabbitMQ cannot be reached!"}
0 commit comments