vincbeck commented on PR #41625:
URL: https://github.com/apache/airflow/pull/41625#issuecomment-2302256161

   > Any way to add some tests so that this doesn't regress again? Does the 
`dag.test` code itself even have unit tests?
   
   It does but we are not testing `dag.test` when `use_executor` is `True`. The 
reason why it is not tested is it is quite hard to run an executor in pytest. 
Even `LocalExecutor` fails. And mocking the executor would result in not 
testing the feature. I think this should be belong to system test where an 
actual executor is run.


-- 
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]

Reply via email to