This is an automated email from the ASF dual-hosted git repository.
potiuk 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 5a4eb84 Increase timeouts even longer for on_kill test (#20056)
5a4eb84 is described below
commit 5a4eb84a12bca055e9fcba086cb2559b3243c8c2
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Dec 5 21:05:42 2021 +0100
Increase timeouts even longer for on_kill test (#20056)
Seems that when the system is busy, the timeouts we had to
wait for tasks to start were a bit to short. Increasing them.
Related to #20054
---
tests/task/task_runner/test_standard_task_runner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/task/task_runner/test_standard_task_runner.py
b/tests/task/task_runner/test_standard_task_runner.py
index 3405410..f43ac33 100644
--- a/tests/task/task_runner/test_standard_task_runner.py
+++ b/tests/task/task_runner/test_standard_task_runner.py
@@ -222,7 +222,7 @@ class TestStandardTaskRunner:
processes = list(self._procs_in_pgroup(runner_pgid))
logging.info("Waiting for the task to start")
- with timeout(seconds=4):
+ with timeout(seconds=20):
while True:
if os.path.exists(path_on_kill_running):
break