MRLab12 commented on PR #41627: URL: https://github.com/apache/airflow/pull/41627#issuecomment-2299777200
I'm having some issues with the test I added. Looking at other tests in `test_scheduler_job` I see that `session.refresh(dr)` is used before asserting the dag run state. In my test it causes a missing state error. Has anyone encountered this before? Also. I want to check that the `on_kill` method of `BashOperator` is called, but haven't gotten the Mock to work and it is currently failing. Looking into it. I wanted to get this draft PR up to check that I did the correct changes. Hopefully I understood the issue correctly. -- 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]
