jvoravong commented on code in PR #58734:
URL: https://github.com/apache/airflow/pull/58734#discussion_r2574263774
##########
docker-tests/tests/docker_tests/test_docker_compose_quick_start.py:
##########
@@ -115,6 +115,15 @@ def
test_trigger_dag_and_wait_for_result(default_docker_image, tmp_path_factory,
# Before we proceed, let's make sure our DAG has been parsed
compose.execute(service="airflow-dag-processor", command=["airflow",
"dags", "reserialize"])
+ # Verify API server health endpoint is accessible and returns valid
response
+ health_response = api_request(
+ "GET",
+ path="monitor/health"
+ )
+ health_response.raise_for_status()
+ health_data = health_response.json()
+ assert "metadatabase" in health_data
Review Comment:
```suggestion
health_status = api_request("GET",
path=f"monitor/health").get("metadatabase").get("status")
assert health_status == "healthy"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]