diff --git a/airflow-core/tests/integration/otel/test_otel.py b/airflow-core/tests/integration/otel/test_otel.py index d19756094b6ce..6826d6cc877a7 100644 --- a/airflow-core/tests/integration/otel/test_otel.py +++ b/airflow-core/tests/integration/otel/test_otel.py @@ -467,9 +467,10 @@ def test_export_metrics_during_process_shutdown(self, capfd): "_validate_task_inlets_and_outlets": "_prepare", "_prepare": "run", "_execute_task": "run", + "task.execute": "_execute_task", "finalize": "worker.task1", "run": "worker.task1", - "sub_span1": "_execute_task", + "sub_span1": "task.execute", "dag_run.otel_test_dag": None, "task_run.task1": "dag_run.otel_test_dag", "worker.task1": "task_run.task1",