potiuk commented on a change in pull request #19860:
URL: https://github.com/apache/airflow/pull/19860#discussion_r759148959
##########
File path: tests/jobs/test_scheduler_job.py
##########
@@ -1858,26 +1844,20 @@ def _create_dagruns():
# As tasks require 2 slots, only 3 can fit into 6 available
assert len(task_instances_list) == 3
- @pytest.mark.quarantined
def test_scheduler_keeps_scheduling_pool_full(self, dag_maker):
"""
Test task instances in a pool that isn't full keep getting scheduled
even when a pool is full.
"""
- with dag_maker(
- dag_id='test_scheduler_keeps_scheduling_pool_full_d1',
- start_date=DEFAULT_DATE,
- ):
+
+ with dag_maker(dag_id='test_scheduler_keeps_scheduling_pool_full_d1',
start_date=DEFAULT_DATE):
Review comment:
> Maybe we should use the session fixture here and have everything use
the same session. Not a problem though.
Yeah. My thoughts exactly. Unfortunately I tried it before and the errors
remained. I did not use the fixture though - the session was still created via
settings.Session() (but before dag_makers and it was passed to dag_makers same
way as you did).
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]