highlyavailable commented on code in PR #50990:
URL: https://github.com/apache/airflow/pull/50990#discussion_r2155909017
##########
airflow-core/tests/unit/utils/test_log_handlers.py:
##########
@@ -189,12 +188,13 @@ def task_callable(ti):
assert hasattr(file_handler, "read")
log, metadata = file_handler.read(ti, 1)
assert isinstance(metadata, dict)
- target_re = re.compile(r"\A\[[^\]]+\] {test_log_handlers.py:\d+} INFO
- test\Z")
+ # Update regex pattern to match the structlog format - just check for
the word "test"
+ # in the log events since structlog format is different from the old
format
Review Comment:
Thanks for the review, I removed the comments!
--
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]