kaxil commented on issue #14050:
URL: https://github.com/apache/airflow/issues/14050#issuecomment-772921162


   https://github.com/apache/airflow/pull/14056 fixes it
   
   Tested with following DAG:
   
   ```python
   from datetime import datetime, timedelta
   
   from airflow import DAG
   from airflow.operators.bash_operator import BashOperator
   
   with DAG(
       dag_id="sla_trigger5",
       schedule_interval="@daily",
       start_date=datetime(2021, 1, 1),
   ) as dag:
       BashOperator(
           task_id="bash_task",
           bash_command="sleep 30",
           sla=timedelta(seconds=2),
       )
   ```
   
   
![image](https://user-images.githubusercontent.com/8811558/106826363-b5fb7480-667e-11eb-846f-fd555cc31e3e.png)
   


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