ginevragaudioso commented on a change in pull request #15210:
URL: https://github.com/apache/airflow/pull/15210#discussion_r612503846



##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -924,6 +924,7 @@ def _executable_task_instances_to_queued(self, max_tis: 
int, session: Session =
             .filter(not_(DM.is_paused))
             .filter(TI.state == State.SCHEDULED)
             .options(selectinload('dag_model'))
+            .order_by(-TI.priority_weight, TI.execution_date)

Review comment:
       @kaxil ideas on what is failing? I see the test_scheduler_job (the one I 
added my test to) run, and I see dots after it, so I'd think it is passing.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to