ashb commented on a change in pull request #11335:
URL: https://github.com/apache/airflow/pull/11335#discussion_r511450726



##########
File path: tests/jobs/test_scheduler_job.py
##########
@@ -1407,7 +1414,9 @@ def 
test_find_executable_task_instances_task_concurrency(self):  # pylint: disab
         session = settings.Session()
 
         scheduler.dagbag.bag_dag(dag, root_dag=dag)
-        scheduler.dagbag.sync_to_db(session=session)
+        # Since we don't want to store the code for the DAG defined in this 
file
+        with mock.patch.object(settings, "STORE_DAG_CODE", False):

Review comment:
       Do we have this on every case? If so we should do it in setup with a 
second patcher (or even if most we should do it in setup)




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