yuqian90 commented on pull request #8992:
URL: https://github.com/apache/airflow/pull/8992#issuecomment-650531210


   > @yuqian90 tests are failing, can you take a look please
   
   Hi @kaxil  thank you. I looked into it. I think 
`tests/operators/test_latest_only_operator.py:test_run` is the only one related 
to my change.
   
   The reason `test_latest_only_operator.py:test_run` fails in this PR but not 
in master is that master has another commit 
https://github.com/apache/airflow/pull/5970. So I cherry-picked 
https://github.com/apache/airflow/pull/5970 into my PR as well. 
`test_latest_only_operator.py:test_run` should now pass.
   
   ```
               XCom.set(
                   key=XCOM_SKIPMIXIN_KEY,
                   value={XCOM_SKIPMIXIN_SKIPPED: [d.task_id for d in tasks]},
                   task_id=task_id,
   >               dag_id=dag_run.dag_id,
                   execution_date=dag_run.execution_date,
                   session=session
               )
   E           AttributeError: 'NoneType' object has no attribute 'dag_id'
   ```


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