ephraimbuddy commented on pull request #18310:
URL: https://github.com/apache/airflow/pull/18310#issuecomment-921380276
You can reproduce the behaviour with this DAG:
```python
import datetime
from airflow import DAG
from airflow.operators.bash import BashOperator
default_args = {'wait_for_downstream': True, 'provide_context': False}
with DAG(
'test_downstream',
start_date=datetime.datetime(2021,9,13),
schedule_interval="@daily",
default_args=default_args,
catchup=True) as dag:
task1 = BashOperator(task_id=f'task_1', bash_command='sleep 5')
task2 = BashOperator(task_id=f'task_2', bash_command='sleep 5')
task3 = BashOperator(task_id=f'task_3', bash_command='sleep 20')
task4 = BashOperator(task_id=f'task_4', bash_command='sleep 5')
task5 = BashOperator(task_id=f'task_5', bash_command='sleep 5')
task6 = BashOperator(task_id='task_6', bash_command='sleep 5')
task1 >> task2 >> task3 >> task4 >> task5 >> task6
```
--
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]