|
Ran
|
Files
155
|
Run time
8s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/airbnb/airflow/commit/<a class=hub.com/airbnb/airflow/commit/2bebeaf9554d35710de6eb1b4006157e105ac79b">2bebeaf95<a href="https://github.com/airbnb/airflow/commit/2bebeaf9554d35710de6eb1b4006157e105ac79b">">[AIRFLOW-1011] Fix bug in BackfillJob._execute() for SubDAGs BackfillJob._execute() checks that the next run date is less than or equal to the end date before creating a DAG run and task instances. For SubDAGs, the next run date is not relevant, i.e. schedule_interval can be anything other than None or &#39;@once&#39; and should be ignored. However, current code calculates the next run date for a SubDAG and the condition check mentioned above always fails for SubDAG triggered manually. This change adds a simple check to determine if this is a SubDAG and, if so, sets next run date to DAG run&#39;s start date. Closes #2179 from joeschmid/AIRFLOW-1011-fix-bug- backfill-execute-for-subdags (cherry picked from commit </a><a class="double-link" href="https://github.com/airbnb/airflow/commit/<a class="double-link" href="https://github.com/airbnb/airflow/commit/56501e6062df9456f7ac4efe94e21940734dd5bc">56501e606</a>">56501e606</a><a href="https://github.com/airbnb/airflow/commit/2bebeaf9554d35710de6eb1b4006157e105ac79b">) Signed-off-by: Bolke de Bruin <bolke@xs4all.nl>
7200 of 10682 relevant lines covered (67.4%)
0.67 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|