Taragolis commented on code in PR #28378:
URL: https://github.com/apache/airflow/pull/28378#discussion_r1049662784


##########
tests/models/test_serialized_dag.py:
##########
@@ -39,33 +39,21 @@ def make_example_dags(module):
     return dagbag.dags
 
 
-def clear_db_serialized_dags():
-    with create_session() as session:
-        session.query(SDM).delete()
-
-
-@parameterized_class(
-    [
-        {"compress_serialized_dags": "False"},
-        {"compress_serialized_dags": "True"},
-    ]
-)

Review Comment:
   This parameters always evaluate as `True`, so tests runs against compressed 
serialized DAGs.
   
   
https://github.com/apache/airflow/blob/2794662459b6d2f40b55b9b1d39eed14b5c3c5e9/airflow/models/serialized_dag.py#L107-L112
   
   fixed



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