ashb commented on a change in pull request #6553: [AIRFLOW-5902] avoid 
unnecessary sleep to maintain local task job heart rate
URL: https://github.com/apache/airflow/pull/6553#discussion_r352583333
 
 

 ##########
 File path: tests/jobs/test_local_task_job.py
 ##########
 @@ -43,6 +43,9 @@
 class TestLocalTaskJob(unittest.TestCase):
     def setUp(self):
         clear_db_runs()
+        patcher = patch('airflow.jobs.base_job.sleep')
 
 Review comment:
   What about scheduler_job and backill_job -- shouldn't we need to patch those 
too?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to