You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2026/10/11 09:48:04 UTC

(airflow) 03/03: Give the OpenLineage start-up a bit more time in the short-stall timeout test

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch hardened-python-base-images
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 6ec8bc8d8bdbc2929f705907e6a6f77c5ae1b98d
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Oct 11 10:47:46 2026 +0100

    Give the OpenLineage start-up a bit more time in the short-stall timeout test
    
    With a 3s timeout only 2s were left for spawning the extraction process next to its 1s on-start stall, which the hardened Python - built without PGO - no longer always met on a loaded runner; 4s still kills the 5s on-complete stall.
    
    Generated-by: Claude Opus 5
    Claude-Session: https://claude.ai/code/session_014np1fVAxHmGaBFt3qebJ8x
---
 .../openlineage/tests/unit/openlineage/plugins/test_execution.py      | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/providers/openlineage/tests/unit/openlineage/plugins/test_execution.py b/providers/openlineage/tests/unit/openlineage/plugins/test_execution.py
index 42b9b9d0ef1..74b4125718b 100644
--- a/providers/openlineage/tests/unit/openlineage/plugins/test_execution.py
+++ b/providers/openlineage/tests/unit/openlineage/plugins/test_execution.py
@@ -144,7 +144,9 @@ with tempfile.TemporaryDirectory(prefix="venv") as tmp_dir:
         @conf_vars(
             {
                 ("openlineage", "transport"): f'{{"type": "file", "log_file_path": "{listener_path}"}}',
-                ("openlineage", "execution_timeout"): "3",
+                # Under the 5s stall of the on-complete extraction, so that one is killed, while leaving
+                # the 1s on-start extraction room for the process start-up on a loaded runner.
+                ("openlineage", "execution_timeout"): "4",
             }
         )
         def test_short_stalled_task_extraction_with_low_execution_is_killed_by_ol_timeout(