potiuk commented on code in PR #28631:
URL: https://github.com/apache/airflow/pull/28631#discussion_r1061593561
##########
tests/api/common/test_mark_tasks.py:
##########
@@ -49,7 +49,7 @@ def dagbag():
from airflow.models.dagbag import DagBag
# Ensure the DAGs we are looking at from the DB are up-to-date
- non_serialized_dagbag = DagBag(read_dags_from_db=False,
include_examples=False)
+ non_serialized_dagbag = DagBag(read_dags_from_db=False,
include_examples=True)
Review Comment:
> Also found that if we call DAG.sync_to_db() it no has any affect to
database, so I change it to same method in DagBag object, I do not know is it
expected or it is some kind of bug.
Not sure about it. But I do not see it to have any noticeable effect on time
of running the tests, so let's keep it this way.
--
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]