kaxil commented on a change in pull request #8739:
URL: https://github.com/apache/airflow/pull/8739#discussion_r432742933



##########
File path: tests/models/test_serialized_dag.py
##########
@@ -117,7 +116,6 @@ def test_remove_stale_dags(self):
         self.assertFalse(SDM.has_dag(stale_dag.dag_id))
         self.assertTrue(SDM.has_dag(fresh_dag.dag_id))
 
-    @mock.patch('airflow.models.serialized_dag.STORE_SERIALIZED_DAGS', True)
     def test_bulk_sync_to_db(self):

Review comment:
       I mean with the patch, it would only sync and write DAGs to DAGModel 
table and assert that queries count is 7, is that the intention 




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