manipatnam commented on code in PR #72054:
URL: https://github.com/apache/airflow/pull/72054#discussion_r4739546518
##########
airflow-core/tests/unit/jobs/test_scheduler_job.py:
##########
@@ -7650,6 +7650,57 @@ def _running_counts():
assert session.scalar(select(func.count()).select_from(DagRun)) == 6
assert session.scalar(select(func.count()).where(DagRun.dag_id ==
dag1_dag_id)) == 6
+ def
test_backfill_runs_started_when_backfill_completed_despite_paused_flag(self,
dag_maker, session):
+ """
+ A completed backfill leaves is_paused=True (cancel sets both is_paused
and
+ completed_at). Its queued runs -- e.g. one cleared after cancel --
must still
+ be promoted; the stale is_paused flag must not strand them. Regression
test
+ for https://github.com/apache/airflow/issues/69658.
Review Comment:
Removed. The docstring now describes the behavior only.
--
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]