sortega commented on code in PR #55517:
URL: https://github.com/apache/airflow/pull/55517#discussion_r2343355215
##########
airflow-core/tests/unit/utils/test_log_handlers.py:
##########
@@ -170,10 +171,10 @@ def task_callable(ti):
ti = TaskInstance(task=task, run_id=dagrun.run_id,
dag_version_id=dag_version.id)
ti.try_number = 0
- ti.state = State.SKIPPED
+ ti.state = ti_state
- logger = ti.log
- ti.log.disabled = False
+ logger = logging.getLogger(TASK_LOGGER)
+ logger.disabled = False
Review Comment:
ti.log does not contains the FileTaskLogger because of recent changes to how
logging is done
--
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]