mik-laj commented on a change in pull request #8909:
URL: https://github.com/apache/airflow/pull/8909#discussion_r427191256



##########
File path: tests/executors/test_celery_executor.py
##########
@@ -75,6 +75,17 @@ def _prepare_app(broker_url=None, execute=None):
     patch_app = mock.patch('airflow.executors.celery_executor.app', test_app)
     patch_execute = 
mock.patch('airflow.executors.celery_executor.execute_command', test_execute)
 
+    backend = test_app.backend

Review comment:
       This is unlikely to happen in a real environment, because there is a 
very small chance that all processes/deployment will synchronize. The database 
is also not created many times in a production environment.




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