github-actions[bot] opened a new pull request, #75844: URL: https://github.com/apache/airflow/pull/75844
* Isolate otel config-priority test from ambient OTEL env vars test_config_priorities asserts that the Airflow config host/port is used when a case provides no OTEL endpoint env var. It applied only the case's provided_env_vars on top of the ambient environment, so any OTEL_* var already exported by the runner leaked in. RunsOn CI runners export OTEL_EXPORTER_OTLP_ENDPOINT (resolving to 127.0.0.1:4318), which wins over the Airflow config and failed the six config-priority cases on both main and the release branches. Clear all OTEL_* env vars before applying provided_env_vars so the test only sees its own inputs regardless of the runner environment. * Move OTEL_* clearing into a class-scoped autouse fixture Per review: clear ambient OTEL_* vars for every test in TestOtelMetrics rather than only test_config_priorities. (cherry picked from commit 5df209d1835a3dd9a14e6b08c07e1b36740beee4) Co-authored-by: Rahul Vats <[email protected]> -- 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]
