ephraimbuddy commented on a change in pull request #19528:
URL: https://github.com/apache/airflow/pull/19528#discussion_r746945206



##########
File path: tests/jobs/test_scheduler_job.py
##########
@@ -1274,7 +1274,8 @@ def 
test_dagrun_timeout_fails_run_and_update_next_dagrun(self, dag_maker):
         session.flush()
         session.refresh(dr)
         assert dr.state == State.FAILED
-        # check that next_dagrun has been updated by 
Schedulerjob._update_dag_next_dagruns
+        self.scheduler_job._do_scheduling(session)

Review comment:
       I'm not sure if this test is correct or not, the assert below was 
failing, that was why I made the change here. Could be another bug, please 
review




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