potiuk opened a new issue, #45774:
URL: https://github.com/apache/airflow/issues/45774
Sometimes TestDbApiHook::test_run_no_log randomly fails (another caplog
case) - usually in compat tests:
```
________________________ TestDbApiHook.test_run_no_log
_________________________
providers/tests/common/sql/hooks/test_dbapi.py:516: in test_run_no_log
assert len(caplog.messages) == 1
E assert 2 == 1
E + where 2 = len(['Rows affected: 0', "Task was destroyed but it is
pending!\ntask: <Task pending name='Task-113' coro=<<async_generator_asend
without __name__>()> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object
at 0x7f8d90c493a0>()]>>"])
E + where ['Rows affected: 0', "Task was destroyed but it is
pending!\ntask: <Task pending name='Task-113' coro=<<async_generator_asend
without __name__>()> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object
at 0x7f8d90c493a0>()]>>"] = <_pytest.logging.LogCaptureFixture object at
0x7f8d72fc7cd0>.messages
----------------------------- Captured stdout call
-----------------------------
```
For example :
https://github.com/apache/airflow/actions/runs/12835627081/job/35795783211#step:11:2417
--
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]