|
Ran
|
Jobs
6
|
Files
155
|
Run time
13min
|
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>
7235 of 10682 relevant lines covered (67.73%)
4.03 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 5876.1 (TOX_ENV=py27-cdh-airflow_backend_mysql) | 0 |
67.39 |
Travis Job 5876.1 | |
| 2 | 5876.2 (TOX_ENV=py27-cdh-airflow_backend_sqlite) | 0 |
67.43 |
Travis Job 5876.2 | |
| 3 | 5876.3 (TOX_ENV=py27-cdh-airflow_backend_postgres) | 0 |
67.4 |
Travis Job 5876.3 | |
| 4 | 5876.4 (TOX_ENV=py34-cdh-airflow_backend_mysql) | 0 |
67.01 |
Travis Job 5876.4 | |
| 5 | 5876.5 (TOX_ENV=py34-cdh-airflow_backend_sqlite) | 0 |
67.05 |
Travis Job 5876.5 | |
| 6 | 5876.6 (TOX_ENV=py34-cdh-airflow_backend_postgres) | 0 |
67.0 |
Travis Job 5876.6 |