shahar1 commented on code in PR #69216:
URL: https://github.com/apache/airflow/pull/69216#discussion_r3508561995


##########
providers/cncf/kubernetes/tests/unit/cncf/kubernetes/executors/test_kubernetes_executor.py:
##########
@@ -2356,13 +2356,7 @@ def test_get_task_log(self, mock_get_kube_client, 
create_task_instance_of_operat
         ]
 
     def test_init_does_not_create_manager_process(self):
-        """
-        Constructing the executor must not spawn a ``multiprocessing.Manager``.
-
-        The API server builds a ``KubernetesExecutor`` purely to call 
``get_task_log()`` for
-        RUNNING tasks and never starts it. Eagerly creating the Manager in 
``__init__`` leaked an
-        orphaned ``serve_forever`` process per API-server worker.

Review Comment:
   I tried to solve it in https://github.com/apache/airflow/pull/68640, 
probably need more specific instructions :)



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

Reply via email to