Lee-W commented on code in PR #48477:
URL: https://github.com/apache/airflow/pull/48477#discussion_r2019673978


##########
airflow-core/tests/unit/models/test_taskinstance.py:
##########
@@ -4122,7 +4122,7 @@ def first_asset_task(*, outlet_events):
 
             first_asset_task()
 
-        with dag_maker(schedule=None, serialized=True, session=session):
+        with dag_maker(schedule=None, serialized=False, session=session):

Review Comment:
   I think serialized is needed for running dag with asset. Looks like an asset 
won't be activated if it's not serialized and a dag cannot be ran with an 
inactive asset.
   
   
https://github.com/apache/airflow/blob/075d0dd304d6f036ad180b07dec5e808e33d78fc/devel-common/src/tests_common/pytest_plugin.py#L777



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

Reply via email to