milton0825 commented on a change in pull request #5343: [AIRFLOW-4591][WIP]
Make default_pool a real pool
URL: https://github.com/apache/airflow/pull/5343#discussion_r289229912
##########
File path: tests/jobs/test_scheduler_job.py
##########
@@ -354,9 +354,10 @@ def test_find_executable_task_instances_pool(self):
self.assertIn(tis[1].key, res_keys)
self.assertIn(tis[3].key, res_keys)
- @mock_conf_get('core', 'non_pooled_task_slot_count', 1)
- def test_find_executable_task_instances_in_non_pool(self):
- dag_id =
'SchedulerJobTest.test_find_executable_task_instances_in_non_pool'
+ def test_find_executable_task_instances_in_default_pool(self):
+ set_default_pool_slots(1)
+ session = settings.Session()
Review comment:
Let me move this line closer to where it is used.
----------------------------------------------------------------
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]
With regards,
Apache Git Services