This is an automated email from the ASF dual-hosted git repository.
jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 1169ef3c62b Fix Celery tests after conf-backcompat merge (#64388)
1169ef3c62b is described below
commit 1169ef3c62b5ad0a55a5eb2367bf7e59dba74290
Author: Jens Scheffler <[email protected]>
AuthorDate: Sun Mar 29 17:32:53 2026 +0200
Fix Celery tests after conf-backcompat merge (#64388)
---
providers/celery/tests/unit/celery/cli/test_celery_command.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/providers/celery/tests/unit/celery/cli/test_celery_command.py
b/providers/celery/tests/unit/celery/cli/test_celery_command.py
index cafd48f29a0..5ccc14ffa16 100644
--- a/providers/celery/tests/unit/celery/cli/test_celery_command.py
+++ b/providers/celery/tests/unit/celery/cli/test_celery_command.py
@@ -142,6 +142,7 @@ class TestWorkerStart:
@mock.patch("airflow.providers.celery.cli.celery_command.setup_locations")
@mock.patch("airflow.providers.celery.cli.celery_command.Process")
@mock.patch("airflow.providers.celery.executors.celery_executor.app")
+ @conf_vars({("celery", "pool"): "prefork"})
def test_worker_started_with_required_arguments(self, mock_celery_app,
mock_popen, mock_locations):
pid_file = "pid_file"
mock_locations.return_value = (pid_file, None, None, None)