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



##########
File path: tests/jobs/test_scheduler_job.py
##########
@@ -3920,6 +3920,50 @@ def test_do_schedule_max_active_runs_task_removed(self):
         ti = run1.get_task_instance(task1.task_id, session)
         assert ti.state == State.QUEUED
 
+    def test_do_schedule_max_active_runs_task_shutdown(self):
+        """Test that tasks in shutdown state don't count as actively 
running."""

Review comment:
       I'm not so sure about this. While they are in Shutdown state _they are 
still running_.




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